S
Steve in NY
Hi all,
I am going through the list of standard modules and found the following which
all allow one to create an http connection:
Net::HTTP, LWP::UserAgent, IO::Socket, Socket, HTTP
Which is best? Are there any differences? Well, mostly I just use IO::Socket,
but something simpler might make my code a lot shorter. And also something that
handles time outs well would be good. Right now I am trying to poll urls using
the HEAD method and would like it to timeout well.
Also, on a related note, there is
CGI.pm and HTML.pm ...I like handling the cgi part myself, but getting html out
of my code would be nice, something like
form("my value");
table -> cell("data");
would be cool.
Thanks in advance!
I am going through the list of standard modules and found the following which
all allow one to create an http connection:
Net::HTTP, LWP::UserAgent, IO::Socket, Socket, HTTP
Which is best? Are there any differences? Well, mostly I just use IO::Socket,
but something simpler might make my code a lot shorter. And also something that
handles time outs well would be good. Right now I am trying to poll urls using
the HEAD method and would like it to timeout well.
Also, on a related note, there is
CGI.pm and HTML.pm ...I like handling the cgi part myself, but getting html out
of my code would be nice, something like
form("my value");
table -> cell("data");
would be cool.
Thanks in advance!