No flames, so long as you know you're wrong ;-)
just kidding. Seriously though it's dependent on
the end user. If they are the curious type and will
actually attempt to understand the modules they use
then that's good. I just rewrote a script from years
ago that I used to select 5 random lines from a file
that was atrocious, no scoping, vast assumptions (one
of which was causing it to get locked in an infinite loop!
Very Bad since it was run by cron), etc. etc.
So I got Algorithm::Numerical::Shuffle
and the script is now much more stable and trivial.
And I really think that it would have been best for me to
have used it in the first place long long ago. I would
have been more confident in the script (or justifiably
so), and spent time on making it work well instead of
just making it work. On the other hand I wouldn't have
been able to (it would have unnecessary) revisit it and
see how very far I'd come ;-).
perl -p -e "s/(?:\w);([st])/'\$1/mg"
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:
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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||