> -----Original Message-----
> From: Jim Bacon [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 27, 2007 9:51 AM
> To: datetime@perl.org
> Subject: RE: instance data for DateTime derived classes
> 
> Take a look at how I overloaded "new" in 
> DateTime::Fiscal::Retail454.  I had
> the same problem you describe.
> 

Having given it a quick viewing it looks like your new() calls
$_454_allocate->(), which only sets your custom attributes to undef,
rather than preserve their prior values. Have I misread it? Does it do
more than just ensure that the keys exist?

Thanks,

 - Dan Boorstein

Reply via email to