Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: PGA Golf, Round 1

by petral (Curate)
on May 25, 2001 at 18:08 UTC ( [id://83312]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # hole 1: 16
    perl -le 'sub h1 {(pop=~/\w+/g)[4]}'      -e'print h1"abc   ,., de f g
    + hi jk"'
    ...
    perl -le 'sub h6 {grep{s/.//}sort map{/[aeiou]/;$&.$_}@_}' \
                                -e'$,=$";print h6 qw(book eel hi huge i pe
    +a wrap)'
    
  2. or download this
    perl -le'sub x {$_[-1]<$_[0]?pop:shift;$#_?&x:@_}' -e'print x(-3,-5,-2
    +,-8,-7)'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found