If you want to write a second module, you don't have to start a whole new distribution. When you created your My::Client distribution, it will have a module in lib/My/Client.pm. Simply add a file lib/RequestAgent.pm.
Although I believe that all the use/include issues that I encountered can be overcome via the judicious use of @INC-modifying BEGIN blocks
You mean something as complicated as use lib 'lib/'; ?
PS - I'm using a Perl 5.6.1 distribution.
That's lagging two major versions behind, currently 5.10.0 is the last stable distribution, and 5.6.1 is not maintained any more. Do yourself a favour and upgrade, there are many good reasons why 5.10 is loads better than 5.6.1
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.