Our project team has developed Perl-madness, and
so far we have about 72 scripts we wrote specifically
for our baseline. It's now reached the point I think
it would be appropriate to incorporate a lot of the common functionality into a module. The problem is that we all keep
our scripts on a network drive so everyone can access them,
the problem is that in order to create a module (.pm) I would need to place it in the my local \Perl\Lib directory (unless I'm wrong), but doing so makes it harder to maintain, everyone would have to copy this file to their respective \Perl\Lib directory, and everytime I change it I'd have to repeat the process. So my
question is:
Is there a way to place a .pm module at a remote location,
but through some kind of forwarding reference tell it where to find it? If not, I guess the next question is how would I
refer to the module within my script...
use //server/dir1/dir2/jojo.pm?
Thanx in advance!
Desert coder
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.