|
|
| "be consistent" | |
| PerlMonks |
Re^2: use deprecated;by adrianh (Chancellor) |
| on Nov 26, 2003 at 18:55 UTC ( [id://310423]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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 ;-)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||