Perl: LWP::Simple
LWP::Simple
get($url)
Returns the document (no headers)
head($url)
Returns an array containing content-type, document-length, modified-time, expires, and server (in that order)
getprint($url)
Prints the requested document to STDOUT, returns HTTP response code
Previous slide
Next slide
Back to first slide
View graphic version