Has anyone gotten a useragent request to work? My code shown below allows me to make a web request and puts the response in a variable. It works elsewhere, but when I attempt to use it here it never completes the get($request)
use LWP::Simple qw($ua get);
my $ua = new LWP::UserAgent;
my $request = $_[0];
$ua->timeout(30);
$response = get($request);
use LWP::Simple qw($ua get);
my $ua = new LWP::UserAgent;
my $request = $_[0];
$ua->timeout(30);
$response = get($request);