Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Perl 5.10: switch statement demo

by robin (Chaplain)
on Dec 20, 2007 at 18:20 UTC ( #658201=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (@items) {
        when (/^[A-Z]/) {
            say "Found a proper noun?  $_";
    ...
    
        say "This word seems uninteresting:  $_";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-12-29 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls