Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: A script with a loop is running my computer Out of memory

by jethro (Monsignor)
on Feb 02, 2011 at 21:53 UTC ( [id://885862]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      printf "%${max_length_generation}s: %${max_length_children}s   %s\n"
    +,$_,commify($generations{$_}),$generations{$_}/$generations{max($_-1,
    +1)};
    
  2. or download this
    my @distribution=(0,0,1,1,1,2,2,2,2,3,3,4,5);
    
  3. or download this
     my $children = $distribution[rand(@distribution)];
    # instead of  my $children = int(rand(6));
    

Log In?
Username:
Password:

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

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

    No recent polls found