This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Data::Dumper: add Trailingcomma option
authorAaron Crane <arc@cpan.org>
Mon, 7 Dec 2015 22:49:19 +0000 (22:49 +0000)
committerAaron Crane <arc@cpan.org>
Wed, 16 Dec 2015 00:01:09 +0000 (00:01 +0000)
commit7089d392a17363e439d5e7aedcc05f4a8cbd5875
treecc412789927659209539db34ab8e29eab41c5208
parent3f2b063d143511f8b9027419d9cc90e49238a68e
Data::Dumper: add Trailingcomma option

This is as suggested in RT#126813.

The refactoring to use a structure for the style variables has now paid off:
the additional variable is mentioned only where it's directly relevant,
rather than needing to be passed explicitly to every recursive call.
MANIFEST
dist/Data-Dumper/Dumper.pm
dist/Data-Dumper/Dumper.xs
dist/Data-Dumper/t/trailing_comma.t [new file with mode: 0644]