in reply to Re: Uninitialized value ?
in thread Uninitialized value ?
and what this also does is bite you back horribly ;-)
if your $words{$name} evaluates to false, i.e. '' or 0. So better - unless you can outrule those cases:
$secretword = defined($words{$name}) ? $words{$name} : 'groucho';
-- Hofmator
|
|---|