Re: [OT] Re: DateTime::Stringify ... Data::Dumper'ing DT objects

2004-02-22 Thread Dave Rolsky
On Sun, 22 Feb 2004, Rick Measham wrote: Back on Topic, below is the module I use for dumping ... if people are interested I don't mind releasing it. Basically I summarise some of the long parts of the dump as strings. If you pass it anything but a DateTime object the module just passes it

Re: [OT] Re: DateTime::Stringify ... Data::Dumper'ing DT objects

2004-02-22 Thread Andrew Pimlott
On Sat, Feb 21, 2004 at 03:42:40PM -0600, Dave Rolsky wrote: I think the problem is that Data::Dumper has historically had two orthogonal uses. One was serializing data structures for persistence, ala Storable, and the other was for debugging. Nowadays, I'm guessing most people use Storable

Re: [OT] Re: DateTime::Stringify ... Data::Dumper'ing DT objects

2004-02-22 Thread Tim Bunce
On Sun, Feb 22, 2004 at 02:34:58PM -0500, Andrew Pimlott wrote: On Sat, Feb 21, 2004 at 03:42:40PM -0600, Dave Rolsky wrote: I think the problem is that Data::Dumper has historically had two orthogonal uses. One was serializing data structures for persistence, ala Storable, and the other

[OT] Re: DateTime::Stringify ... Data::Dumper'ing DT objects

2004-02-22 Thread Rick Measham
At 3:42 pm -0600 2004-02-21, Dave Rolsky wrote: I think the problem is that Data::Dumper has historically had two orthogonal uses. One was serializing data structures for persistence, ala Storable, and the other was for debugging. Nowadays, I'm guessing most people use Storable for the first, and

[OT] Re: DateTime::Stringify ... Data::Dumper'ing DT objects

2004-02-21 Thread Dave Rolsky
On Sat, 21 Feb 2004, John Siracusa wrote: On 2/21/04 4:33 PM, Dave Rolsky wrote: On Sat, 21 Feb 2004, John Siracusa wrote: 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