That's more correct (and, in my opinion, readable) as:
return unless exists $self->{$param};Beware of undef in list context.
In reply to Re^2: Link methods to hash values
by chromatic
in thread Link methods to hash values
by Herkum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |