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

Re: Perl for all ages?

by Util (Priest)
on Feb 10, 2007 at 01:07 UTC ( [id://599312]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
         10 10-19
        224 20-29
    ...
         73 40-49
         18 50-59
          4 60-69
    
  2. or download this
    $ curl -sS -o m#1 'http://tinymicros.com/pm/index.php?goto=MonkBirthda
    +ys&start={0,50,100,150,200,250,300,350,400,450,500,550,600,650}'
    $ perl -le 'for (0..13) {$x=$_*50;$y=sprintf q{%02d}, $_; system(qq{mv
    + m$x monk_birthday_$y.html})==0 or die;}'
    ...
    
    $ perl -wlne '$c++; $t+=$_; END{print "Average: ", $t/$c/12}' ages_in_
    +months.dat
    Average: 33.1097861842105
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found