The best way to do this would be to hack into the Perl internals and remove the functions visibility and then recompile. Should not be too difficult and would be bulletproof.
"Never take yourself too seriously, because everyone knows that fat birds dont fly" -FLC
Comment on Re: Completely removing a perl function.
Heh, I've actually considered this, but it's a huge pain for a large number of reasons, so I was hoping to avoid it. Maybe I can hack up something scary involving XS.