Replace
foreach my $line (<SPEC>)
with
while (my $line = <SPEC>)
to avoid loading the entire file into memory. This is a performance improvement, not a solution to your problem. Sounds like eric256 has already solved your problem.
In reply to Re: what on earth is going on?
by ikegami
in thread what on earth is going on?
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |