Name
new
Synopsis
$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.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.