use warnings; and perl -w are not the same thing.I'm aware of that, the different scoping, the possibility to use warnings::register; ... but the way I understand it, use warnings; is not reasonable after setting $^W = 1; # equivalent to perl -w which is done by use diagnostics;. Please correct me if I'm overlooking something here...
-- Hofmator
In reply to Re3: strict, warnings and diagnostics pragmas
by Hofmator
in thread strict, warnings and diagnostics pragmas
by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |