Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Why use strict is good, and barewords are bad

by benizi (Hermit)
on Apr 22, 2005 at 21:24 UTC ( #450585=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Why use strict is good, and barewords are bad
in thread Why use strict is good, and barewords are bad

While I like the clever solution to the problem at hand (barewords), I'm much happier that Perl chose the DWIMery of using a default argument of $_, e.g.: perl -Mstrict -lwe 'print for map oct, qw/077 777 034/'

(63, 511, 28) vs. ("oct", "oct", "oct")


Comment on Re: Why use strict is good, and barewords are bad
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-07-22 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (106 votes), past polls