Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: (RhetTbull) Re: something like switch(case) in Perl

by Masem (Monsignor)
on Jan 23, 2002 at 09:40 UTC ( #140834=note: print w/ replies, xml ) Need Help??

in reply to (RhetTbull) Re: something like switch(case) in Perl
in thread something like switch(case) in Perl

As a word of caution, Switch is *not* a great module; yes, it replicates what C has, but it's not efficient nor impervious to bugs. As I believe the lastest word on Perl 6 from Larry has implied, the lack of a good switch block in Perl 5 is very much apparent.

Keep this in mind when working with this. Switch might work, but be prepared to find weird things happening if you ask it for too much.

Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Comment on Re: (RhetTbull) Re: something like switch(case) in Perl

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-11-28 07:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls