Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Given When Syntax

by Bloodnok (Vicar)
on Mar 17, 2014 at 14:19 UTC ( [id://1078601]=note: print w/replies, xml ) Need Help??


in reply to Given When Syntax

I have to admit to using the following structure when in need of a switch compatible statement in perl 5.14 and earlier i.e. when feature, as mentioned elsewhere in this discussion, is not available...
SWITCH: { <cond 1> && do { . . last SWITCH; }; <cond 2> && do { . . last SWITCH; }; # default . . }
...and I got this from this very portal :-)

A user level that continues to overstate my experience :-))

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found