in reply to Trapping a Function Call in Non-OO Perl

Without getting into code fragments, the way you could do that would be to change the required file so that it uses a function pointer to point to its own error routine. This function pointer could be repointed to your new module's error-handling function before you start.

--t. alex

"There was supposed to be an earth-shattering kaboom!" --Marvin the Martian

  • Comment on Re: Trapping a Function Call in Non-OO Perl

Replies are listed 'Best First'.
Re: Re: Trapping a Function Call in Non-OO Perl
by IlyaM (Parson) on Feb 15, 2002 at 12:07 UTC