TODO - seeds germane, yet not germinated
The following functionality will be supported in the next few releases.
Can be set to the method name that you want Dumper to call before attempting to stringify an object. This method can alter the contents of the object (if, for instance, it contains data allocated from C), and even rebless it in a different package. The client is responsible for making sure the specified method can be called via the object, and that the object ends up containing only perl data types after the method has been called. (This will be added when 5.004, which has UNIVERSAL::isa, is released.)
Depth beyond which we don't venture into a structure. Has no effect when Data::Dumper::Purity is set. (useful in debugger when we often don't want to see more than enough).
Data::Dumper::Purity
Dump contents explicitly up to a certain depth and then use names for cross-referencing identical references. (useful in debugger, in situations where we don't care so much for cross-references).
To install Data::Dumper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Dumper
CPAN shell
perl -MCPAN -e shell install Data::Dumper
For more information on module installation, please visit the detailed CPAN module installation guide.