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


in reply to Re^2: Perl Program Exits.
in thread Perl Program Exits.

You "could" setup this association
assoc .plA=PerlScriptAnnoying FTYPE PerlScriptAnnoying=cmd.exe /k "perl.exe" %1 %* set pathext=%pathext%;.PLA
and that would keep cmd.exe open after perl is finished (/k means keep cmd open)