http://www.perlmonks.org?node_id=985176


in reply to Perl Program Exits.

I always run my perl files from a command window. Thus this window will not close. And I can enter any parameters. And I am oldschool :).


I'm too lazy to be proud of being impatient.

Replies are listed 'Best First'.
Re^2: Perl Program Exits.
by Ratazong (Monsignor) on Aug 03, 2012 at 08:18 UTC

    So many possibilities :-)

    I run mine from a .bat-File. That way I can control the perl and the libraries I want to use. And using pause will prevent the exit-problem of the OP.

    Example: (objcmp.bat)

    D:\tools\perl\bin\perl -Id:/tools/perl/lib -w objcmp.pl D:\releases\12 +113129 YES > xxx.txt pause