in reply to Re: Trapping a Function Call in Non-OO Perl
in thread Trapping a Function Call in Non-OO Perl

Another approach is using exceptions. That is replace exit with die and trap it with eval when needed.

--
Ilya Martynov (http://martynov.org/)

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