Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: PGA Golf, Round 1

by tadman (Prior)
on May 25, 2001 at 16:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://83272]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found