No such thing as a small change | |
PerlMonks |
Re: use deprecated;by danger (Priest) |
on Nov 26, 2003 at 14:58 UTC ( [id://310272]=note: print w/replies, xml ) | Need Help?? |
Is there a straightforward and robust way to hook each named deprecated sub with a separate check-and-carp behavior? Hook::LexWrap (and others in the Hook:: namespace) will allow you to write your import() routine to wrap deprecated subs to emit the necessary warnings.
In Section
Seekers of Perl Wisdom
|
|