Subject: | $^W turned off (Data::Dump::Streamer bug) |
Date: | Thu, 11 Dec 2008 07:50:41 +0100 |
To: | bug-Data-Dump-Streamer [...] rt.cpan.org |
From: | "Zsbán Ambrus" <ambrus [...] math.bme.hu> |
Dear Data::Dump::Streamer maintainers!
When DDS is loaded, it may turn off the warnings flag $^W. This is
confusing because when you're using the -w flag and DDS, warnings you
would count on may disappear. This applies to both compile-time and
runtime warnings. Here are some examples.
[am]king ~$ perl -we '$_x = foo;'
Unquoted string "foo" may clash with future reserved word at -e line 1.
[am]king ~$ perl -we 'use Data::Dump::Streamer; $_x = foo;'
[am]king ~$ perl -we '$_x = 1 + "abc";'
Argument "abc" isn't numeric in addition (+) at -e line 1.
[am]king ~$ perl -we 'use Data::Dump::Streamer; $_x = 1 + "abc";'
Thanks for your time,
Ambrus