Thomas, Mark - BLS CTR wrote:
Are there modules faster than Data::Dump?

Interesting. I'd never heard of Data::Dump. I always use Data::Dumper.
Have you tried that? It uses XS code so it should be faster.
Data::Dump comes with the ActivePerl distribution. From the Data::Dump documentation:

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")| <../../../lib/Pod/perlfunc.html#item_dump> simply returns |"foo"|, and |dump(1..5)| <../../../lib/Pod/perlfunc.html#item_dump> simply returns |(1, 2, 3, 4, 5)|.

I tried Data::Dumper, and it ran a bit slower than Data::Dump.
You can also try Storable.
I will. Thanks.

--
Lyle Kopnicky
Software Project Engineer
Veicon Technology, Inc.

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to