On Sat, 21 Feb 2004, John Siracusa wrote: > On 2/21/04 3:49 PM, Ben Bennett wrote: > > If I remember correctly the argument against auto stringification was > > that it made debugging harder. > > Speaking of difficult debugging and DT, every time I feed something to > Data::Dumper that contains a DT object (or several) I cringe at the giant > output. I don't suppose there's any way to avoid that...
Nothing springs to mind, other than adding hooks to Data::Dumper ala Storable. But that would somewhat defeat the purpose of Data::Dumper, wouldn't it? I wouldn't object to a dump method in DateTime itself that output something smaller, but you'd still need to know that there was a DT object in there. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
