in reply to can undefined methods?
I just tested it in 5.00504, 5.8.4 and 5.8.5 and they all give that result.
It's been mentioned on p5p: summary / start of thread
update: it appears you can delete $::{'foo'} to completely remove a subroutine. The difference with undef &foo being that delete removes the sub's name from the symbol table, while undef doesn't.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: can undefined methods?
by Dave Howorth (Scribe) on Nov 29, 2004 at 15:02 UTC |