Extends io::all for https urls
use IO::All; $content < io('https://example.org'); # GET webpage # two ways of getting a page with a password: $content < io('https://me:[email protected]'); $content < io('https://example.org')->user('me')->password('secret');
This module extends IO::All for dealing with \s-1HTTPS\s0 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 \s-1HTTPS\s0 \s-1URL\s0.
The \s-1SYNOPSIS\s0 shows some simple typical examples, but there are many other interesting combinations with other IO::All features! For example, you can get an \s-1HTTPS\s0 \s-1URL\s0 and write the content to a socket, or to an \s-1FTP\s0 \s-1URL\s0, of to a \s-1DBM\s0 file.
This is a subclass of IO::All::LWP. The only new method is \*(C`https\*(C', which can be used to create a blank IO::All::HTTPS object; or it can also take an \s-1HTTPS\s0 \s-1URL\s0 as a parameter. Note that in most cases it is simpler just to call io('https://example.com'), which calls the \*(C`https\*(C' method automatically.
The same operators from IO::All may be used. < GETs an \s-1HTTPS\s0 \s-1URL\s0; > PUTs to an \s-1HTTPS\s0 \s-1URL\s0.
IO::All, IO::All::LWP, \s-1LWP\s0.
Ivan Tubert-Brohman <[email protected]> and Brian Ingerson <[email protected]>
Copyright (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>