Subject: | Procedural interface for Dump with named vars |
Data-Dumper-2.121
perl v5.8.0 (sun4-solaris)
SunOS barbara.cs.rpi.edu 5.9 Generic_117171-02 sun4u sparc SUNW,Ultra-5_10
Attached is a patch which creates a procedural interface to obtain Dump'ed output of variables along with names. This is the output given by the object-oriented Dump() method. The new function is named Dumpn (for Dump names, I suppose). This function has also been added to the @EXPORT_OK array.
There are several times when I wish to see my user-defined names of variables being dumped in the output. The solution of writing out Data::Dumper->Dump(...) as opposed to one simple function call is mildly annoying. Hence I submit this wishlist along with a patch.
Thank you for your time.
Message body not shown because it is not plain text.