or you can set it before the test.my $x = $y || '';
Or put the test in an if.$x ||= '';
if (defined $x) { reftype $x eq 'HASH' }
In reply to Re: Annoying warnings...
by gam3
in thread Annoying warnings...
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |