need some help

need some help

am 13.01.2006 12:36:53 von prashant.s.sajjanar

------_=_NextPart_001_01C61835.C7EA2995
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi,

I am getting the following error when I excute the perl script.

Can't locate LWP/UserAgent.pm in @INC (@INC contains: =
/usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 =
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris =
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) =
at /usr/local/websites/App_Name/url_ping.pl line 4.
BEGIN failed--compilation aborted at =
/usr/local/websites/App_Name/url_ping.pl line 4.



Please give some suggestions so that I can execute the script =
successfully


Regards
Prashant
Prashant.s.sajjanar@Accenture.com
Mob:9886847390





This message is for the designated recipient only and may contain =
privileged, proprietary, or otherwise private information. If you have =
received it in error, please notify the sender immediately and delete =
the original. Any other use of the email by you is prohibited.

------_=_NextPart_001_01C61835.C7EA2995--

Re: need some help

am 13.01.2006 20:52:56 von shildret

Either you need to install LWP or find out if it is installed in
another directory. If it is installed in another directory add the
path to your code or set the env var PERL5LIB.

On Fri, 2006-01-13 at 17:06 +0530, prashant.s.sajjanar@accenture.com
wrote:
> Hi,
>
> I am getting the following error when I excute the perl script.
>
> Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/local/websites/App_Name/url_ping.pl line 4.
> BEGIN failed--compilation aborted at /usr/local/websites/App_Name/url_ping.pl line 4.
>
>
>
> Please give some suggestions so that I can execute the script successfully
>
>
> Regards
> Prashant
> Prashant.s.sajjanar@Accenture.com
> Mob:9886847390
>
>
>
>
>
> This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
--
Scott T. Hildreth

Re: need some help

am 13.01.2006 21:03:15 von metaperl

Well the obvious first question is: are you sure libwww-perl is installed?
And the first obvious request is: post the code that is causing
problems so we can see what might be causing your problem.


On 1/13/06, prashant.s.sajjanar@accenture.com
wrote:
> Hi,
>
> I am getting the following error when I excute the perl script.
>
> Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/local/lib/perl=
5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_p=
erl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/=
perl5/site_perl .) at /usr/local/websites/App_Name/url_ping.pl line 4.
> BEGIN failed--compilation aborted at /usr/local/websites/App_Name/url_pin=
g.pl line 4.
>
>
>
> Please give some suggestions so that I can execute the script successfull=
y
>
>
> Regards
> Prashant
> Prashant.s.sajjanar@Accenture.com
> Mob:9886847390
>
>
>
>
>
> This message is for the designated recipient only and may contain privile=
ged, proprietary, or otherwise private information. If you have received i=
t in error, please notify the sender immediately and delete the original. =
Any other use of the email by you is prohibited.
>
>


--
Play me in correspondence chess:
http://slowchess.com/profile.php?username=3Dtbrannon