On Thu, 2004-01-15 at 17:59, James Edward Gray II wrote:
> On Jan 15, 2004, at 4:40 PM, Dan Anderson wrote:
> 
> > I use the Data::Dump package which is a standard module.
> 
> I'm willing to bet you actually use Data::Dumper.

Oh yeah, how much are we betting?  My car could use turbo chargers and
NOS.  :-D

>From the POD:
----------------------------
The Data::Dump module grew out of frustration with Sarathy's
in-most-cases-excellent Data::Dumper. Basic ideas and some code are
shared with Sarathy's module.

The Data::Dump module provides a much simpler interface than
Data::Dumper. No OO interface is available and there are no
configuration options to worry about (yet :-). The other benefit is that
the dump produced does not try to set any variables. It only returns
what is needed to produce a copy of the arguments. This means that
dump("foo") simply returns "foo", and dump(1..5) simply returns (1, 2,
3, 4, 5).
--------------------------------

And I agree that Data::Dumper is much more complicated then it needs to
be.

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to