http://qs1969.pair.com?node_id=396981


in reply to Re^3: open a socket and print from stdin....i think
in thread open a socket and print from stdin....i think

Yes. I have a list of links (with session ID, etc) i need to hit on a website. Contrary to my first post, I actually need to issue the POST command.
example..I can:

nc -vvv website.org 80

and then put in my command:

POST http://website.org/action2?sessionid /HTTP/1.0

then i hit return a few times...and i get the html output.
BUT
as most have pointed out, I think LWP is the easiest, and best way, especially for me..

also note, the "http://website.org/action2?sessionid" is coming from an array, because it's a bunch of links in a file.