in reply to Annoying warnings...
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' }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Annoying warnings...
by Mr. Muskrat (Canon) on Jul 16, 2005 at 00:35 UTC |