Other responses should help you solve your problem, but I hope you don't mind me pointing out a couple of minor style issues with your code:
You use LWP::Simple yet never do anything with this class. If you don't call any methods on a class, you don't need to include it in your program.
You create an LWP::UserAgent object using an indirect method call (new LWP::UserAgent as opposed to LWP::UserAgent->new()) which will cause problems if you have a new() subroutine in your current package. In general, it's best to avoid indirect method calls.
In reply to Re: Help With First LWP Script
by tomhukins
in thread Help With First LWP Script
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |