Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 wandering the Monastery: (8)
As of 2015-07-29 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls