Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Style: expr or warn vs. if..warn?

by adrianh (Chancellor)
on Jul 09, 2004 at 22:51 UTC ( [id://373283]=note: print w/replies, xml ) Need Help??


in reply to Style: expr or warn vs. if..warn?

The calls to scalar are redundant, and I'd probably do:

warn "perfect_shuffle: lists must have equal length\n" unless @foo == @bar;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://373283]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-25 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found