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
In reply to Re: Re: Uninitialized value ?
by Hofmator
in thread Uninitialized value ?
by All0uette
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |