in reply to Re: Script halting without error?
in thread Script halting without error?
Edit: Okay, this code does the same thing. (It stops and the print never shows up.)
use strict; use warnings; my %hash = (); foreach my $a (1..500) { foreach my $b (1..4000) { foreach my $c (1..10) { foreach my $d (1..7) { $hash{$a}{$b}{$c}{$d} = $d; } } } } print "here\n";
I assume it's just running out of memory somehow, but I don't know why there's no error message or what I should do about it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Script halting without error?
by zentara (Cardinal) on Dec 13, 2005 at 13:55 UTC | |
|
Re^3: Script halting without error?
by spiritway (Vicar) on Dec 14, 2005 at 05:23 UTC |