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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |