Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Dumper CPAN distribution.

Report information
The Basics
Id: 7973
Status: new
Priority: 0/
Queue: Data-Dumper

Owner: Nobody in particular
Requestors: plalli [...]

Bug Information
Severity: Wishlist
Broken in: 2.121
Fixed in: (no value)

Subject: Procedural interface for Dump with named vars
Download (untitled) / with headers
text/plain 714b
Data-Dumper-2.121 perl v5.8.0 (sun4-solaris) SunOS 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.
Download dump_patch
application/octet-stream 660b

Message body not shown because it is not plain text.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to