[plug] @INC in Perl

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


Pluggers,

On a sur of the moment decision, I jumped into the dir that *did*
contain UserAGent.pm, ran make && make install and now my @INC problem
has disappeared. Maybe the cpan part did not work properly?

Still lik eto know how to modify @INC though

Mike

#-----Original Message-----
#From: Earnshaw, Mike [mailto:earnshawm at wa.switch.aust.com]
#Sent: Wednesday, 31 January 2001 2:30 PM
#To: PLUG (E-mail)
#Subject: [plug] @INC in Perl
#
#
#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