Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Simulate a head lice infection

by grinder (Bishop)
on Jan 22, 2009 at 09:38 UTC ( #738099=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $min = int(rand(10)) + 15;
        $max = int(rand(25));
        $dayofdeath = int(rand($max)) + $min;
    
  2. or download this
            print "DAY: $days\n";
            print "================\n";
    ...
            print "EGGS: $eggsacks\n";
            print "EGGS LAID TODAY: $eggslaidtoday\n";
            print "================\n";
    
  3. or download this
            print <<END_OF_REPORT;
    DAY: $days
    ...
    EGGS LAID TODAY: $eggslaidtoday
    ================
    END_OF_REPORT
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2021-11-30 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?