Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by benizi (Hermit)
on Apr 22, 2005 at 21:24 UTC ( [id://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")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-19 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found