Recently in the Chatterbox, while musing about perl idioms
and whatnot, a well-known perl advocate interjected that he
was considering writing a book on "Perl Second-Best Practices."
This interjection was of course recognized as a humorous remark,
but it got me to thinking. Why not? There *must* be times when you
think to yourself:
"Hmmm ... I know this shouldn't be in my code, but ..."
and then you apply whatever justification to go ahead and do it anyway.
Sometimes those justifications are out of ignorance. Sometimes they
are not. The kind I am interested in are the latter.
Specifically: are there any "Second-Best" practices that you use on a regular
basis? If so, why? I post this to see if any of you are willing
to publically admit to it. You know you're out there.
=oQDlNWYsBHI5JXZ2VGIulGIlJXYgQkUPxEIlhGdgY2bgMXZ5VGIlhGV
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.