> [EMAIL PROTECTED] - Fri May 19 04:23:23 2000]:
> 
>     $ perl -wle 'foo.bar'
>     Unquoted string "foo" may clash with future reserved word at -e
> line 1.
>     Unquoted string "bar" may clash with future reserved word at -e
> line 1.
>     Useless use of concatenation (.) in void context at -e line 1.
>     $ perl -wle 'no warnings "bareword"; foo.bar'
>     $

It seems that 'no warnings "foo"' without a preceding "use warnings"
turns off all warnings even if -w is given!


> The latter should warn about the void use of concatenation.
> 
>     $ perl -wle 'use warnings "all"; no warnings "bareword"; foo.bar'
>     Unquoted string "foo" may clash with future reserved word at -e
> line 1.
>     Unquoted string "bar" may clash with future reserved word at -e
> line 1.
>     Useless use of concatenation (.) in void context at -e line 1.
>     $
> 
> And this should have warned only about the void use of concatenation.

No, "Unquoted string..." is a "reserved" warning.

Reply via email to