Book HomeJava and XSLTSearch this book

8.60. Dumpvalue

The Dumpvalue module is used to provide a screen dump of Perl data. Whether you're trying to look at global variables or you'd like to dump the symbol table so that you can examine it, Dumpvalue will prove useful to you. Here's an example that dumps the symbol table of CGI.pm:

#!/usr/local/bin/perl -w

use Dumpvalue;
use CGI qw(:all);

my $dumper = Dumpvalue->new('DumpPackages' => 1);

$dumper->dumpvars('CGI');


Library Navigation Links

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