Well, when you get the prompt, the debugger is ready for you to type the next command. You can type any Perl expression and it will run it and show you the result. You can also single-step your program, but if those six lines are your entire program, then it'll exit right afterwards. I can't really tell you what to type next since I don't know what you're trying to do.

There's a nice built-in help to the debugger, but if you've never used it before, perldebug is indeed the thing to read next.

The debugger is very handy to know because you can also use it as interactive Perl environment (I probably use it more for that than actual debugging). There's a very nice chapter on using it in Effective Perl Programming, one of my favorite Perl books.

HTH


In reply to Re: Help with perldebug by VSarkiss
in thread Help with perldebug by alietzow

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.