Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Simulate a head lice infection

by grinder (Bishop)
on Jan 22, 2009 at 09:38 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-23 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found