GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Data::Printer::Profile::Dumper(3) User Contributed Perl Documentation Data::Printer::Profile::Dumper(3)

Data::Printer::Profile::Dumper - use DDP like Data::Dumper

While loading Data::Printer:

    use DDP profile => 'Dumper';

While asking for a print:

    p $var, profile => 'Dumper';

or in your ".dataprinter" file:

    profile = Dumper

This profile tries to simulate Data::Dumper's output as closely as possible, using Data::Printer, even skipping types unsupported by Data::Dumper like lvalues and formats.

It's not guaranteed to be 100% accurate, but hopefully it's close enough :)

It's important to notice that this profile tries to emulate Data::Dumper's output, NOT its behaviour. As such, some things are still happening in a much DDP-ish way.

* no $VAR2, ... * return value * prototypes * still called 'p' (say alias = 'Dumper' if you want) * arg is always a reference, so on the top level, references to scalars will be rendered as scalars. References to references and inner references will be rendered properly.

Data::Printer Data::Dumper
2021-02-17 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.