[San-Diego-pm] Use

Chris Radcliff chris_radcliff at mac.com
Tue Jan 11 08:07:01 PST 2005

On Jan 11, 2005, at 1:53 AM, C. Abney wrote:

> On Mon, 2005-01-10 at 22:46, Joel Fentin wrote:
>> 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?
> It wants you to read ``perldoc perlfaq8'', and learn about @INC.

Then, armed with that knowledge, look into the lib module:

   use lib qw(..);
   use x;

Be sure to get comfortable with @LIB *first* to avoid unintended side 


More information about the San-Diego-pm mailing list