in reply to
Re^4: Exiting script from subs
in thread
Exiting script from subs
That's not trapping an exit. That's trapping the termination of the script. Remove your eval and change your exit to a die and see what happens.
My wife's blog
Comment on
Re^5: Exiting script from subs
In Section
Seekers of Perl Wisdom