in reply to Prevent Perl Command Line Interpreter Popup From Appearing On Perl Crash
You can disable the popups using the system api SetErrorMode(). You can access that api using Win32::API or via tye's Win32API::File.
use Win32API::File qw[ SetErrorMode :SEM_ ];; print SetErrorMode( SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX );;
See the documentation for an explanation of the constants and other possibilities.
|
|---|