Module to print out all package variables...?

A

alex

I'm looking for a module to dump out all (or as much
as possible :) the package variables.
ie. something like:

Data::Dumper->Dump([ \%:: ], ['\%::']) # Dump the main symbol table

....but which then recursively follows the package name globs's.

I couldn't find anything on CPAN, but then i may not
have been looking in the right place :-\

Thanks, and best regards!
 
A

alex

Douglas Hunter said:
I'm looking for a module to dump out all (or as much
as possible :) the package variables.
ie. something like:

Data::Dumper->Dump([ \%:: ], ['\%::']) # Dump the main symbol table

...but which then recursively follows the package name globs's.

I couldn't find anything on CPAN, but then i may not
have been looking in the right place :-\

Does Devel::Symdump do what you want?

Yes! Just what i needed.

Many thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,416
Latest member
LionelQ387

Latest Threads

Top