Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: perldelta unclear on 'given's fate

by morelenmir (Beadle)
on Jan 04, 2014 at 18:29 UTC ( [id://1069307]=note: print w/replies, xml ) Need Help??


in reply to perldelta unclear on 'given's fate

I shall give all those suggestions a look over chaps! From what has been said here it looks like the desire for a perl 'switch' has been around for quite a long time.

LanX - in regards your snippet; if I understand aright the 'if's are comparing implicitly against $_ without having to explicitly provide a second argument? I am still very woolly about those perl shortcuts!

Either way, the 'next's work like 'break' would in C?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-29 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found