[plug] @INC in Perl

Earnshaw, Mike earnshawm at wa.switch.aust.com
Wed Jan 31 14:33:44 WST 2001


Pluggers,

Playing with Perl at a NEWBIE level. Following some instructions in a
readme file, perl -MCPAN -e shell. Then ...

cpan> install Bundle::LWP

No errors that I noticed. But when I run this perl script it reports ...

Can't locate WP/UserAgent.pm in @INC (@INC contains: .....)

I am guessing that @INC is some kind of path, but I can't find where it
is modified. The file that it reports as missing is on the system but
not in any of the @INC dirs, so I created a sym link from one of the
dirs listed to the actual file but it still fails.

Any pointers please?

------------------------------------------------------------------------
-----
Mike Earnshaw      | Tech support is a fine art      | e-mail in header
 Computer Systems  | which once mastered, virtually  | Tel : +61 8 9256
0023
  Support          | ensures loss of sanity.         | Fax : +61 8 9256
1199
------------------------------------------------------------------------
-----
   ,-._|\    Union Switch & signal
  /      \   24 Bannick Court
  *_.--._/   Canning Vale, WA 6155, Western Australia
        v 
------------------------------------------------------------------------
-----



More information about the plug mailing list