[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: A common base exception object for Perl - RFC



On Thu, Jan 20, 2000 at 03:35:05PM +0000, m.pearce@inpharmatica.co.uk wrote:
> > 	my $f=new Exception -text=>'foo', -class=>'Error',
> > 			-name=>'bar', -errcode=>$!, -exitcode=>23;
> > 
> 
> the use of -foo for configuration items seems to me to be something
> picked up from Tk and/or analogy with command-line calls.  I'm not
> convinced that they help here; and I don't see them used commonly
> through the non-Tk modules.

Seconded.  For instance, Event omits the leading dash.

-- 
"Does `competition' have an abstract purpose?"
       via, but not speaking for Deutsche Bank


References to:
"Redford, John" <John.Redford@fmr.com>
Martyn Pearce <m.pearce@inpharmatica.co.uk>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]