Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re (tilly) 4: Golf challange: match U.S. State names

by MeowChow (Vicar)
on Jun 06, 2001 at 08:54 UTC ( #86116=note: print w/replies, xml ) Need Help??


in reply to Re (tilly) 4: Golf challange: match U.S. State names
in thread Golf challange: match U.S. State names

Your first one can go down to 121:
sub state{ grep$_[0]eq$_,'WVTNHINMSCORIDCAKSDE WIALAR MNCTX NVAZ'=~/(?=(\w\w))/ +g,'FLGAILKTKYMAMDMEMIMOMTNDNENJNYOHOKPAUTWAWY'=~/../g }
... or you could have just taken the easy route by converting the && into an &.
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://86116]
help
Chatterbox?
[LanX]: never lad_ena!
[LanX]: ;)
[Lady_Aleena]: IMO, Fancy::Join:: Grammatical isn't bad, but RolePlaying:: WorldBuilding:: WorldBuildersGuide book::ClimateTerra inSubsistance is on the long side.
[Lady_Aleena]: I'm still in reorganizing/ renaming mode.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-05-24 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?