in reply to Re^3: perl crashes parsing huge script - how to find a line that crashes it?
in thread perl crashes parsing huge script - how to find a line that crashes it?
It even crash perl if run with perl -c script.pl - i.e. it crashes during parsing, not during execution.
I'll insert
in every 1000th line, this seems to be the best solution so far..BEGIN { print STDERR "still alive at line " . __LINE__ . "\n";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: perl crashes parsing huge script - how to find a line that crashes it?
by syphilis (Archbishop) on Feb 19, 2008 at 12:34 UTC |