This isn't going to be much help, but regular
expressions are always going to look like line
noise to someone who doesn't grok them.
If you're writing for someone with little Perl
knowledge, then all you can do is
- Write clean tight code. (which you have)
- Document it (which you were about to), even
if it's on a line by line basis.
_rant_on_
I'm personally getting to the stage where I am
p**d off about pandering to developpers who want to
use a programming language without making an effort
to learn, not just the syntax, but also the idioms.
If regular expressions are part of the language, then
use them as they were meant to be used. If conditional
statement modifiers are there, then what's the
point of pretending that they aren't?
_rant_off_
Just about the only thing that you can do is to teach
the perl-deprived; and one of the most immediate ways to do
that is to fully document the code.
Just my two centimes.
--
I knock my pate and fancy wit will come
Knock as I please, there's no one at home
a pontiff paraphrased
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.