On Fri, 23 May 2014 15:52:11 -0700 Jim Gibson <jimsgib...@gmail.com> wrote:
> Use the 'use warnings;' pragma in your program instead of '-w' on the > first line. That way, you can control which messages are issued. > Some modules have to do unsafe things to get the job done; it's the only way. But they do have the courtesy to turn warnings off so you won't see their messages. > I do not know if it is possible to get rid of the warnings you are > seeing. I do not use the 'say' command, but prefer print, and use one > of the other techniques I listed. To turn off a pragma, use "no". See `perldoc -f no` Example: use warnings; { # suppress warnings in this block only no warnings; # do something unsafe but necessary } -- Don't stop where the ink does. Shawn -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/