Thank you
Blue for posting what I did not have the time for.
I was in a similar situation for a long time in that I had
code that needed to be run on various Unix boxes and NT in
1995. I found that find.pl did not work very well for me
so I had to write my own that would work across Unix and
NT; with or without Samba. (For some time I didn't even
use Perl on NT, since it was too resource intensive and
NT just couldn't deal with it.)
After that, I had the pleasure of needing code that worked
on Linux, HP, BSD, Solaris, NCR, AIX, SCO, and Windows.
By then the modules were good, but geting full coverage
wasn't the easiest to ensure. I had already written a lot
of code that were now covered by modules, but it
meant going through and rewriting code to use modules. At
the time, it was not worth it. I can
estimate now that the test harness which had ~4,000 lines
of code could now be written with ~1000 lines. I had
started a rewrite late last year, but left the company
before finishing.
What does mean for most people? Use modules if you can,
but understand that not everyone has that luxury.
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.