Reference: new
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:44:42Z

#

| Chapter 8 Standard Modules |

## 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.

8.39 Data::Dumper |  | Reference: Dump