in reply to Re^3: Check for variable without leaving a trace
in thread Check for variable without leaving a trace
It doesn't detect an empty hash, but that's good enough for me.main @> $test = 1 1 main @> defined $test 1 main @> defined %test '' main @> %test2 = 1,2 1 2 main @> defined $test2 '' main @> defined %test2 1 main @> %test3 = () undef main @> defined %test3 '' main @> defined $test3 ''
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Check for variable without leaving a trace
by Fox (Pilgrim) on Dec 09, 2009 at 17:07 UTC |