start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.39 Data::Dumper Chapter 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::Dumper Perl in a Nutshell Next: Reference: Dump
8.39 Data::Dumper Book Index Reference: Dump

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.