[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Omaha.pm] LWP
> use strict;
Put in a use warnings here.
> use Crypt::SSLeay;
> use LWP::UserAgent;
> use LWP::Simple;
You don't need LWP::Simple if you're using LWP::UserAgent.
> # Script Argument Variables
> my $arg1=@ARGV[0];
> my $arg2=@ARGV[1];
> my $arg3=@ARGV[2];
> my $arg4=@ARGV[3];
I would strongly suggest naming these something meaningful. Also,
@ARGV[n] should be $ARGV[n].
OK, I have to run, so I can't walk through this like I planned. For
now, put on "use warnings" and see what comes out. I will bet a nickel
it will find your prlblem.
--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance