Howdy :)

I endorse what my friend says about Data::Dumper. Extremely useful. Although, personally I like to use Data::Dumper::Simple - almost the same thing, but just a little easier to use and the output is slighly more user-friendly. Some people may recommend against this as it uses source-filtering, but my view is that for testing it is fine - I just make sure it never makes it into any production code.

The other thing that you may find useful is the Perl Data Structures Cookbook (PDSC).

And, if you are prepared to spend a few dollars, then Intermediate Perl is one of the best books (IMHO) for an introduction to references and data structures.

Hope this helps,
Darren :)


In reply to Re: A moment with Perl by McDarren
in thread A moment with Perl by Lady_Aleena

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.