...Or are they the same, and this is all moot.

I tend to just poke around in the half-baked, or unfinished modules on CPAN, when I run into a problem on a Perl script/project I'm working on, and just can't seem to get past.

In doing so; I'll either come back with a fresh set of eyes. A light will go off, as I'm looking at someone elses code. Or I'll find a great Module to finish. Maybe even an idea for a better one.

In any case. I just ran into a Module by Damian Conway : Smart::Comments

While I have just now installed it. I haven't yet used it.
While it provides a number of other functions. It appears, for all practical purposes, that it would suffice as a pseudo DEBUGGER. Emitting errors thrown. Allowing to set "break points". Cobble up custom feedback at desired locations, yadda, yadda, yadda (gotta love Elaine, from Seinfeld, for that last bit).

Anyhow. I'm going to experiment with it, and see if it might just suffice as a mini/pseudo DEBUGGER. I only bothered, as it looks a bit eassier to implement, and use.

So I'm going to use this space to document my findings. So others that haven't heard of/used it, might find out more. For those that have, might share their experiences with it.

Well. That's it for now. If you have used this; please comment. Is this a practical pseudo DEBUGGER? No? Why not?

--Chris

#!/usr/bin/perl -Tw
use perl::always;
my $perl_version = (5.12.5);
print $perl_version;

In reply to To DEBUG, or to COMMENT. _That_ is the question by taint

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.