[San-Diego-pm] Use
Mark Schoonover
schoon at amgt.com
Tue Jan 11 06:49:14 PST 2005
Joel Fentin wrote:
> At the meeting tonight I learned that I could take my x.pl package and
> rename it x.pm. Thus in the main module, I can say:
> use x; instead of require 'x.pl';
>
> I am running into a problem where x.pm is one directory from some (not
> all) of my main modules. With x.pl, I can say:
> require '../x.pl';
>
> I have not figured out how to say the same thing with x.pm. I've tried
> several combinations and have looked it up. I need the relative
> addressing.
>
> What does it want?
Probably use lib qw(..) ?? Would be my guess...
.mark
More information about the San-Diego-pm
mailing list