I'm just writing my first OO perl module and have a few methods that need at least one argument. I believe that due to the nature of modules, I can't have function prototypes to do the argument checking for me. I would like to know if there is a standard way of returning an error or message when the user has not supplied enough arguments. How do people get around the fact that modules can't have function prototypes?
edited: Mon Aug 5 22:23:04 2002 by jeffa - title change (fixed typo, was: Preffered Error notification?