I've seen so much undeserved criticism (to put it mildly) and downvotes in this thread and others that it got me thinking whether I really want to help these people with free software. My apologies to the exceptions.
I think I'll be forgetting about the module and turning my script into a commercial product with a GUI. It will easily and by default record the value of all variables for each iteration of every loop in a script, in addition to the values at any other user-defined point in the script, and display them in the form of:
Loop: for (x=0; x<y; x++)
Variable Value Iteration
-------- --------- ---------
$var1 val var 1 1
$var1 val var 1 2
$var2 val var 2 1
$var2 val var 2 2
It will have numerous display options and even the option to use Xref for more information, but with slower operation and more memory usage.
Too much of the Perl community has taken away my desire to be one of you and contribute. There's too much of a "use strict" type attitude here. I might still contribute something besides commercial software, but it won't feel the same and probably won't be significant.
Suggestion: you can't make someone wise beyond their years, so the school-kid level responses aren't completely avoidable, but off-topic restrictions should be more strictly enforced and there should be a recommendation that unsolicited criticism, particularly of style, be polite and limited.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||