in reply to Re(2): ugly nested if's (broken idiom)
in thread ugly nested if's
undef @lookup_hash{@list};
But, I've found that it fails for symbolic references living in packages other than the one you're executing in under some builds of Perl. Doing an explicit assignment (either with undef or the empty list) works in all builds I've tried.
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
|
|---|