develooper Front page | perl.perl5.porters | Postings from June 2008

Re: incorrect variable reported in uninitialized value warning

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
June 22, 2008 12:06
Subject:
Re: incorrect variable reported in uninitialized value warning
Message ID:
20080622190551.GN12186@iabyn.com
On Sun, Jun 22, 2008 at 04:52:37AM +0300, Yuval Kogman wrote:
> perl -we 'my $f = "does_not_exist"; warn -e $f'
> Use of uninitialized value $f in warn at -e line 1.
> Warning: something's wrong at -e line 1.
> 
> $f is not the uninitialized value, but the return from -e

Whoops!

Fixed by change #34077.

-- 
"Strange women lying in ponds distributing swords is no basis for a system
of government. Supreme executive power derives from a mandate from the
masses, not from some farcical aquatic ceremony."
    -- Dennis, "Monty Python and the Holy Grail"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About