in reply to Idomatic Handling of Subroutine Error

You should be using exceptions. Read up on the block form of eval.
  • Comment on Re: Idomatic Handling of Subroutine Error