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


in reply to perl deferring die to calling method

Just a comment: as others have implicitly noted, your package declarations should end with a semicolon. (Otherwise, I don't believe your code will compile.)