Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: use deprecated;

by danger (Priest)
on Nov 26, 2003 at 14:58 UTC ( #310272=note: print w/replies, xml ) Need Help??

in reply to use deprecated;

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.