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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: To DEBUG, or to COMMENT. _That_ is the question
by boftx (Deacon) on Nov 08, 2013 at 20:07 UTC | |
by taint (Chaplain) on Nov 08, 2013 at 21:36 UTC | |
|
Re: To DEBUG, or to COMMENT. _That_ is the question
by Anonymous Monk on Nov 08, 2013 at 20:11 UTC | |
|
Re: To DEBUG, or to COMMENT. _That_ is the question
by locked_user sundialsvc4 (Abbot) on Nov 08, 2013 at 22:10 UTC | |
by chromatic (Archbishop) on Nov 08, 2013 at 22:42 UTC | |
by Athanasius (Archbishop) on Nov 09, 2013 at 03:19 UTC | |
by chromatic (Archbishop) on Nov 09, 2013 at 17:50 UTC | |
|
Re: To DEBUG, or to COMMENT. _That_ is the question
by einhverfr (Friar) on Nov 16, 2013 at 15:34 UTC |