Query: io::all::http
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IO::All::HTTP(3pm) User Contributed Perl Documentation IO::All::HTTP(3pm)NAMEIO::All::LWP - Extends IO::All to HTTP URLsSYNOPSISuse IO::All; $content < io('http://example.org'); # GET webpage into scalar io('http://example.org') > io('index.html'); # GET to file "hello " > io('http://example.org/index.html'); # PUT webpage # two ways of getting a page with a password: $content < io('http://me:secret@example.org'); $content < io('http://example.org')->user('me')->password('secret');DESCRIPTIONThis module extends IO::All for dealing with HTTP URLs. Note that you don't need to use it explicitly, as it is autoloaded by IO::All whenever it sees something that looks like an HTTP URL. The SYNOPSIS shows some simple typical examples, but there are many other interesting combinations with other IO::All features! For example, you can get an HTTP URL and write the content to a socket, or to an FTP URL, of to a DBM file.METHODSThis is a subclass of IO::All::LWP. The only new method is "http", which can be used to create a blank IO::All::HTTP object; or it can also take an HTTP URL as a parameter. Note that in most cases it is simpler just to call io('http://example.com'), which calls the "http" method automatically.OPERATOR OVERLOADINGThe same operators from IO::All may be used. < GETs an HTTP URL; > PUTs to an HTTP URL.SEE ALSOIO::All, IO::All::LWP, LWP.AUTHORSIvan Tubert-Brohman <itub@cpan.org> and Brian Ingerson <ingy@cpan.org>COPYRIGHTCopyright (c) 2007. Ivan Tubert-Brohman and Brian Ingerson. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.10.0 2007-03-29 IO::All::HTTP(3pm)
Related Man Pages |
---|
http::exception::loader(3pm) - debian |
http::response::encoding(3pm) - debian |
io::all::http(3pm) - debian |
padre::task::lwp(3pm) - debian |
test::mock::http::response(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
DNS Server help |
wget with semicolon in page name |
Read webpage from shell script |
indexing list of words in a file |
searching keywords in file |