On Tue, Jan 29, 2002 at 09:09:11PM -0800, William R Ward wrote: > [EMAIL PROTECTED] (Perl Authors Upload Server) writes: > > modid: Return::Value > > Return::Value is an object which encapsulates most of the standard > > behaviors for function/method return values. It allows a function to > > return an object that is treated as a boolean in boolean context, as > > an array in array context and as a rich object if the caller wants > > to use advanced features such as stack traces or lists of warnings > > or complex return datatypes. > > I don't think that a "Return" top-level namespace is a very good > choice for this.. How about (something)::ReturnValue, for some > reasonable value of (something)?
Umm, in the 'control flow' section of the module list we currently have * AtExit - atexit() function to register exit-callbacks * Callback - Define easy to use function callback objects * Hook::PrePostCall - Add actions before and after a routine * Memoize - Cache results of individual function calls * Religion - Control where you go when you die()/warn() It's kind'a tempting to propose a ControlFlow:: category. Most/all of the above would have fitted in there nicely (usually a sign of a good name). So how about ControlFlow::ReturnValue ? Tim.