Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I have a couple of misgivings about this that go off in a couple of diverging directions.

If what you want to do is just give some sort of entertaining talk, sure. I wonder though if it might also be interesting to discuss and build on some of the existing non-dead-end avenues and might have a more lasting impact outside of a talk.

There are two existing REPL's that I know of: Devel::REPL which is more like Ruby's irb, and psh which is more for like a Perl replacment for a POSIX shell.

Installing Devel::REPL from CPAN pulls in lots of stuff including Moose which may be off-putting to some. But on the other hand, it may very well not be a problem for those who are writing Perl using modern OO Perl style. Those people may either already have it installed or want it installed. Some may simply decide to get Moose via their OS distribution mechanism.

But while Devel::REPL pulls in lots of other modules, psh does not.

So the first question: have you have considered contributing to one of these projects instead of going off in yet another direction?

And this leads me to the other aspect of this endeavor I think saddening: yet another (largely dead-end) extension of perl5db. perl5db is what I'd use as a negative advertisement for the Perl language.

Have you considered extending Devel::Trepan for a command-line debugger (which seems to be what you want here) or Devel::hdb for an HTML REST service debugger? Both of these are much more modular and come with tests.

And for having expressions evaluated, have you seen my wiki entry on how expressions are handled in Devel::Trepan?

Good luck with your talk.

In reply to Re: Forking the Perl debugger - which version? by rockyb
in thread Forking the Perl debugger - which version? by LanX

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (5)
    As of 2018-05-25 21:34 GMT
    Find Nodes?
      Voting Booth?