Leon Timmermans > PerlIO-http-0.002 > PerlIO::http

Download:
PerlIO-http-0.002.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.002   Source  

NAME ^

PerlIO::http - HTTP filehandles

VERSION ^

version 0.002

SYNOPSIS ^

 open my $fh, '<:http', 'https://metacpan.org/recent';

DESCRIPTION ^

This layer enables one to read a file from the internet.

SYNTAX ^

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.

PHILOSPHY ^

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…).

RATIONALE ^

This module is mostly meant as a proof of concept. It currently does not support writing in an way, and may never support it.

SEE ALSO ^

AUTHOR ^

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: