[perl-win32-gui-users] Suppress dialog box (OK/CANCEL) after an error

2019-08-18 Thread Lisa Poor
Hello, is it possible to suppress the dialog box (OK/CANCEL) for such errors: ... #my $tmp = 0/0; #warn "Warning\n"; die "Death\n"; ... since I handle these errors in my code. Best regards, LP ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lis

Re: [perl-win32-gui-users] Suppress dialog box (OK/CANCEL) after an error

2019-08-27 Thread Lisa Poor
It's strange, but simple local $SIG{__DIE__} = sub {...} solves the problem. Best regards, LP пн, 19 авг. 2019 г. в 03:53, Lisa Poor : > Hello, > is it possible to suppress the dialog box (OK/CANCEL) for such errors: > ... > #my $tmp = 0/0; > #warn "Warning\n"; &g