On Sun, 2 Jul 2017 14:29:25 +0200 Eric de Hont <eric-pml...@hobiho.nl> wrote:
> What it boils down to: use warnings as well as -w works, but -w is > considered old fashioned. The problem with -w is that it can't be turned off. Sometimes a module has to do something dangerous and having a warning appear is annoying at best and can cause worry and stress in a programmer. `use warnings;` can be turned off: { no warnings; # do something dangerous } # end of scope restores warnings to the previous value `use` or `no` > > A space in the perlbang (shebang) line is not perls problem but your > shell's. I would NOT use a space. > If your shell doesn't choke on such a space: lucky you. A space after the shebang tells the C-shell csh(1) not to interpret the script as a C-shell script. Other shells, like bash(1) and the POSIX sh(1) ignore the space but the Bourne shell may not. -- Don't stop where the ink does. Shawn H Corey -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/