go ahead... be a heretic | |
PerlMonks |
Re^2: LWP Post does not work.by Utilitarian (Vicar) |
on Jun 14, 2011 at 09:24 UTC ( [id://909569]=note: print w/replies, xml ) | Need Help?? |
Eh, Gary
Take a look again at what runrig said, the action on that search form appears to be"/servlet/SearchResults" not "/" and if you modify your script to make the request to the right place it works (provided you add the semicolon after use LWP ;)
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|