in reply to Re: use deprecated;
in thread use deprecated;
Sneaky. Like it.
You'd also need to check that the subroutine actually exists at INIT time, and wrap AUTOLOAD with something appropriate if it's defined.
As liz points out this won't work in mod_perl, eval and other places where the INIT phase has already occured.
I guess you could use a source filter to inline the wrapping code - but that would be really evil ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: use deprecated;
by Aristotle (Chancellor) on Nov 28, 2003 at 01:18 UTC | |
by adrianh (Chancellor) on Dec 03, 2003 at 01:21 UTC |