- or download this
package WarnOver;
use strict;
...
fallback => 1;
;
1;
- or download this
use strict;
use warnings;
...
$\="\n";
print $foo % 2;
print "$foo";
- or download this
numifying reference Foo=HASH(0x225118) at checkwarn.pl line 10
0
stringifying reference Foo=HASH(0x225118) at checkwarn.pl line 11
Foo=HASH(0x225118)
- or download this
package Foo;
use WarnOver;
$foo = bless {};
$bar = bless {};
print "equal" if $foo == $bar; # two warnings!