Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Lexical $_ in given/when vs. BLOCK arguments

by BrowserUk (Patriarch)
on Oct 25, 2011 at 18:21 UTC ( [id://933669]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Lexical $_ in given/when vs. BLOCK arguments
in thread Lexical $_ in given/when vs. BLOCK arguments

I think for me it boils down to "given is evil".

I concur. I tried to use given/when on a few occasions and always reverted to something simpler. Altogether just to damn magical for its own good. I seriously doubt I will ever make use of it again.

I much prefer the simple, reliable semantics of use Switch::Perlish 'C';


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-24 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found