in reply to How to wrap a subroutine

> How can I do this properly?

I'm not too fond about overriding built-ins, but it's described in Overriding Built in Functions in perlsub.

Cheers Rolf

PS: Je suis Charlie!