in reply to Help With First LWP Script

This is what I would change it to to get it to work.

The %param are the variables you are passing to the search.php3 script. search is, a no brainer, what you are looking for and search_query is the types. I got these from looking at the code on there search page.

Enjoy.
use warnings; use strict; use LWP::Simple; use LWP::UserAgent; my $ua = new LWP::UserAgent; print "Content-type: text/html\n\n"; # Create a request my %param; $param{'search'} = 'GD'; $param{'search_query'} = 'name'; my $res = $ua->post('http://cgi.nessus.org/plugins/search.php3', \%par +am); # Check the outcome of the response if ($res->is_success) { print $res->content; } else { print "No response\n"; }