in reply to Receiving warnings in browser
I'm running Perl 5.6.0 on Linux and am getting warnings in my browser when I run my Perl programs:Um, then stop printing the warnings to your browser :)
I placed the following code in my Perl program, but it does not seem to affect external modules such as sendmail...That's because warnings are a "lexical" pragma ({ no warnings 'all'; 'does not affect'; { use warnings; 'code here'}}).
perldoc perlrun ... -W Enables all warnings regardless of "no warnings" or "$^W". See the perllexwarn manpage. -X Disables all warnings regardless of "use warnings" or "$^W". See the perllexwarn manpage.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Receiving warnings in browser
by db2admin (Acolyte) on Jun 05, 2004 at 17:35 UTC | |
by PodMaster (Abbot) on Jun 05, 2004 at 20:14 UTC |