in reply to Re: Unexpected warning
in thread Unexpected warning
yep I can reproduce this. =)
Seems like in the context of the call warnings were disabled.
DB<132> use warnings; sub tst {my $a=shift, my $b =shift} DB<133> %h=() DB<134> $bla="" => "" DB<135> tst $h{$bla} => (undef, undef) DB<136> undef $bla => undef DB<137> tst $h{$bla} Use of uninitialized value in scalar assignment at (eval 81)[multi_per +l5db.pl:644] line 2.
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unexpected warning
by salva (Canon) on Nov 18, 2013 at 15:08 UTC | |
by samwyse (Scribe) on Nov 18, 2013 at 16:14 UTC | |
|
Re^3: Unexpected warning
by hdb (Monsignor) on Nov 18, 2013 at 15:07 UTC | |
by LanX (Saint) on Nov 18, 2013 at 15:15 UTC |