in reply to detecting errors when a sub returns undef

I would return a reference to the scalar rather than the value. Than it always is either a ref or undef.

Jeroen

  • Comment on Re: detecting errors when a sub returns undef