in reply to what on earth is going on?
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.
|
|---|