PerlIO::http - HTTP filehandles
version 0.004
open my $fh, '<:http', 'https://metacpan.org/recent';
This layer enables one to read a file from the internet.
This module does not have to be loaded explicitly, it will be loaded automatically by using it in an open mode. The layer does not take any argument.
This modules tried to Do The Right Thing™. HTTP errors are translated as faithfully as possible to an $! value (Error 404 becomes ENOENT, 403 becomes EACCESS, et cetera…).
$!
404
ENOENT
403
EACCESS
This module is mostly meant as a proof of concept. It currently does not support writing in an way, and may never support it.
HTTP::Tiny
This module is just a thin but pretty wrapper around HTTP::Tiny.
IO::Callback::HTTP
A pure-perl module that supports read-write handles using ties and a non-open() interface.
Leon Timmermans <leont@cpan.org>
This software is copyright (c) 2012 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install PerlIO::http, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlIO::http
CPAN shell
perl -MCPAN -e shell install PerlIO::http
For more information on module installation, please visit the detailed CPAN module installation guide.