The ever-popular Data::Dumper is a fantastic tool, meant to stringify data structures in a way they are suitable for being "eval"'ed back in. The thing is, a lot of people keep using it (and similar ones, like Data::Dump) to print data structures and objects on screen for inspection and debugging, and while you can use those modules for that, it doesn't mean you should.
This is where Data::Printer comes in. It is meant to do one thing and one thing only:
format Perl variables and objects to be inspected by a human
If you want to serialize/store/restore Perl data structures, this module will NOT help you. Try Storable, Data::Dumper, JSON, or whatever. CPAN is full of such solutions!
Whenever you type 'use Data::Printer' or 'use DDP', we export two functions to your namespace:
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.001001-bp156.1.1 info | GA Release | 2023-09-01 | 15 SP6 |
|
|
1.001000-bp155.1.5 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
1.000004-bp154.1.21 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.40-bp153.1.12 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.40-bp152.3.16 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.40-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.40-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.40-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|