in reply to Re: pl script in webserver
in thread pl script in webserver

both modules are installed, but what i have discovered.

when its like this it cause the problem am facing

my $ua = LWP::UserAgent->new( ssl_opts => { verify_hostname => 0 }, );

but when its like this

my $ua = new LWP::UserAgent(keep_alive=>1);

i get this malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<html>\r\n<head><tit...")

same when its like this LWP::UserAgent->new;