in reply to perl crashes parsing huge script - how to find a line that crashes it?

I guess calling it like this: "perl -Dt script.pl" will sched some light. But this requires perl compiled with -DDEBUGGING. ActivePerl is not compiled with way.

Does anybody know where to get such perl for windows?

Thanks!

  • Comment on Re: perl crashes parsing huge script - how to find a line that crashes it?

Replies are listed 'Best First'.
Re^2: perl crashes parsing huge script - how to find a line that crashes it?
by syphilis (Archbishop) on Feb 19, 2008 at 09:37 UTC
    Does anybody know where to get such perl for windows?

    I don't know of any pre-compiled debug versions of perl for windows, but it's quite easy to build one from source. Both the Win32/Makefile (for use with Visual Studio) and Win32/makefile.mk (for use with MinGW) in the perl source accommodate the building of a debug perl. (See the comments in the configurable section of the relevant makefile - it should just be a matter of uncommenting in one line.)

    Cheers,
    Rob