G
Gaurav
Hello,
i have a perl script that i last used early this year i guess. It was running fine.
Now if i try to run it, i get this error message.
***********************************
perl data.pl 4 1 2002 6 30 2002
Can't locate LWP/UserAgent.pm in @INC (@INC contains:
/usr/perl5/5.00503/sun4-so
laris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
/usr/perl5/site
_perl/5.005 .) at Web.pm line 12.
BEGIN failed--compilation aborted at data.pl line 10.
***********************************
File: data.pl
*****************************************************
#! /usr/local/bin/perl
------
-------
#importing package Web
use Web; //LINE 10
-----
*************************************************
FILE: Web.pm
******************************************
package Web;
#LWP::UserAgent class implements WWW user agent in perl refer this website
#for more details , http://www.perldoc.com/perl5.6/lib/LWP/UserAgent.html
------
require LWP::UserAgent; //LINE 12
-------
*******************************************************
Can someone tell me whats wrong?
what is @INC ?
thank you in advance.
Gaurav
i have a perl script that i last used early this year i guess. It was running fine.
Now if i try to run it, i get this error message.
***********************************
perl data.pl 4 1 2002 6 30 2002
Can't locate LWP/UserAgent.pm in @INC (@INC contains:
/usr/perl5/5.00503/sun4-so
laris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
/usr/perl5/site
_perl/5.005 .) at Web.pm line 12.
BEGIN failed--compilation aborted at data.pl line 10.
***********************************
File: data.pl
*****************************************************
#! /usr/local/bin/perl
------
-------
#importing package Web
use Web; //LINE 10
-----
*************************************************
FILE: Web.pm
******************************************
package Web;
#LWP::UserAgent class implements WWW user agent in perl refer this website
#for more details , http://www.perldoc.com/perl5.6/lib/LWP/UserAgent.html
------
require LWP::UserAgent; //LINE 12
-------
*******************************************************
Can someone tell me whats wrong?
what is @INC ?
thank you in advance.
Gaurav