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.
In reply to Re^2: Script halting without error?
by Jman1
in thread Script halting without error?
by Jman1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |