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

Re^2: converting from switch to given-when

by tobyink (Abbot)
on Sep 25, 2012 at 06:05 UTC ( #995490=note: print w/replies, xml ) Need Help??


in reply to Re: converting from switch to given-when
in thread converting from switch to given-when

Indeed. If they were proper constants (e.g. defined by constant) then they'd work with given/when. But they are not. :-(

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^3: converting from switch to given-when
by Anonymous Monk on Sep 25, 2012 at 07:48 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995490]
help
Chatterbox?
erix denies everything
[shmem]: erix: bad idea. PerlMonks is based on everything
[robby_dobby]: shmem:everything2
robby_dobby says Sorry and points to his boredom
[shmem]: robby_dobby: since everything is everything, it is thus also everything2. And everything2 is based on... you name it.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2017-04-25 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (454 votes). Check out past polls.