I've got a new job. There I have to support a huge perl script (6mb big) written by previous programmer; that script is used on Windows. It was coded for ActivePerl 5.8.x. Now due to various reasons I need to run this script with ActivePerl 5.10.x (previous programmer never attempted to run it with 5.10.x). The script does not use any modules besides shipped with ActivePerl.
The problem - perl 5.10 crashes parsing this huge 6mb script. I guess I need to tweak just a single line to make it work with new version of perl.
The question is - how to detect a line Perl crashes at.. Are there any commandline switches that can help me with that?
Note that Perl crashes during parsing, not during execution.
Thanks for your answers in advance!
In reply to perl crashes parsing huge script - how to find a line that crashes it? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |