Skip Menu |

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

Report information
The Basics
Id: 66435
Status: rejected
Priority: 0/
Queue: Data-Dump

People
Owner: Nobody in particular
Requestors: dblack99 [...] hotmail.com
Cc:
AdminCc:

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



Subject: please make Data::Dump::Dump() an alias for Data::Dump::dump()
I'd really appreciate it if you could add the function Dump() so that I don't get core dumps (from the Perl built-in dump()) if I fail to import Data::Dump::dump(). This would also be symmetric with Data::Dumper::Dumper(). Just make Dump() call dump() and I'd be a very happy camper.
From: dblack99 [...] hotmail.com
Until then, I'm forced to put this into my general-purpose Utils.pm: require Data::Dump; BEGIN { *Data::Dump::Dump = \&Data::Dump::dump; push(@Data::Dump::EXPORT_OK, 'Dump'); }
I don't want to make any more aliases. There is already a 'pp' alias for those that want to avoid 'dump'. I want to follow the convention that Capitalized names are for packages (classes) and not for functions.