Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-07 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls