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.