Merlyn, as always your code looks sweet. Thank you.
I have used IO::Socket before, and would have preferred
use it again. However, this machine is an antiquated (legacy)
SCO server that is thoroughly broken. We fear change on this
box, and instead are migrating all services away, to
OpenBSD computers. This philosophy led me to use the
internal socket instead.
Regardless of my reasons, I agree that your code is
preferable!
Thank you also for the benchmarking. I had no idea that
the performance difference would be so great. I had hoped to
eke out just a few more requests. Sounds like it may handle
dozens. Since the nimdA virus seems to hit servers with
16 requests at a time, we should be in good shape until we
can take that box offline.
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.