Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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.

In reply to Devel::Peek by nakor

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-28 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found