Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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 - mneylon-pm@masemware.com || "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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://140834]
help
Chatterbox?
[erix]: that's bad... I can only wish you good luck
[Discipulus]: not even in Canada is easy to find a decent job
Discipulus was a question
[GotToBTru]: current job found me
Discipulus is so lucky to have a decent job, with old, favorable contract, done before the ultralibersm arrived in Eataly
[Lady_Aleena]: Has anyone here ever use pcregrep? I can't seem to get the --include regex right. --include=*.p[lm] works in grep but not pcregrep.
[erix]: to lift your spirits, here is some more happy Randy news...
[Lady_Aleena]: The reason I would like to use pcregrep is because it can do multiline searches supposedly.
[perldigious]: What are your criteria for looking Tanktalus? What things must a job have for you to consider it? And where are you in your career? Start, middle, or end?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-05-23 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?