[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: incorrect variable reported in uninitialized value warning



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"


Follow-Ups from:
Nicholas Clark <nick@ccl4.org>
References to:
Yuval Kogman <nothingmuch@woobling.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]