http://qs321.pair.com?node_id=486502


in reply to Exception::Class - how to use?

Howdy!

You have the basic flow down, but the "catch" part can be simplified. Exception::Class provides a "caught" method that returns the exception object if it is of the right class or false. See "Catching Exceptions" in the Fine Manual for Exception::Class.

yours,
Michael