Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Devel::Peek

by nakor (Novice)
on Jul 11, 2001 at 18:10 UTC ( [id://95687]=modulereview: print w/replies, xml ) Need Help??

Item Description: the standard module for peeking at Perl's internals

Review Synopsis:

If you've ever wanted to know just how Perl is storing your data internally, this module is for you. Its most important function is Dump($sv), which prints a full description of the internal state of $sv: flags, contents, type, recerence count, etc. If $sv is a reverence, Dump() will also print the referred-to object. The output is much more technical that that of Data::Dumper, but if you suspect a bug in how Perl is handling your data, this is one of the best tools for checking. Simply Dump() your data structure and see if everything is there that should be. This module also provides a set of other, much more deeply embued-with-black-magic functions, such as ones which will retrieve memory usage statistics if your Perl was built using Perl's own malloc() and ones which let the programmer directuly manipulate a variable's reference count from withing Perl. This is not something that any normal Perl programmer should ever need (or want) to do, but if you're looking to learn more about the guts of the Perl 5 interpreter, this module is a great place to start.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: modulereview [id://95687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found