Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Trying to compare a string...

by kcott (Canon)
on Oct 18, 2013 at 08:25 UTC ( #1058722=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $genre = $genres[0];
    
    ...
        /^(?:Action|Adventure|War)$/ && $genre = 'Action & Adventure';
        /^(?:Kids|Family)$/ && $genre = 'Kids & Family';
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058722]
help
Chatterbox?
[Discipulus]: beer is good water can be dangerous..

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-06 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (102 votes). Check out past polls.