in reply to undefing *foo{CODE} does not fully work
It seems to work if you undefine *foo instead of undefining $x. If you want to undefine something, you have to undefine it (and not undefine something else).
print "Undefining foo()"; undef *foo; print "Foo is not defined" unless defined &foo;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: undefing *foo{CODE} does not fully work
by ikegami (Patriarch) on Apr 13, 2006 at 05:03 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |