Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: PGA Golf, Round 1

by tadman (Prior)
on May 25, 2001 at 16:11 UTC ( #83272=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub f{
    (pop=~/w+/g)[4]
    }
    
  2. or download this
    perl -e# -e# -e# -e# -egoto+TPC
  3. or download this
    sub f{
    $p=$_=pop;1while(!/^($p){2,}$/&&$p=~s/.$//);$p
    }
    
  4. or download this
    sub f{
    $p=$_=pop;1while(!/^(\Q$p\E){2,}$/&&$p=~s/.$//s);$p
    }
    
  5. or download this
    sub f{
    map{chr hex$_}pop=~/../g
    }
    
  6. or download this
    sub f{
    $x=pop;map{$_>$x?$x=$_:0}@_;$x
    }
    
  7. or download this
    sub f{
    grep{s/.//}sort map{/[aeiou]/;"$&$_"}@_
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-08-29 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls