Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.39 Data::DumperChapter 8
Standard Modules
Next: Reference: Dump
 

new

$obj = Data::Dumper->new(arrayref[, arrayref])

Constructor. Creates a new Data::Dumper object. The first argument is an anonymous array of values to be dumped. The optional second argument is an anonymous array of names for the values. The names don't need a leading $ and must be comprised of alphanumeric characters. You can begin a name with a * to specify that the dereferenced type must be dumped instead of the reference itself for array and hash references.


Previous: 8.39 Data::DumperPerl in a NutshellNext: Reference: Dump
8.39 Data::DumperBook IndexReference: Dump