The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package PerlIO::http;
{
  $PerlIO::http::VERSION = '0.001';
}
use strict;
use warnings;

use XSLoader;

XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION);

1;

#ABSTRACT: HTTP filehandles


__END__
=pod

=head1 NAME

PerlIO::http - HTTP filehandles

=head1 VERSION

version 0.001

=head1 SYNOPSIS

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

=head1 DESCRIPTION

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

=encoding utf8

=head1 SYNTAX

This modules 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.

=head1 PHILOSPHY

This modules tried to Do The Right Thing™. HTTP errors are translated as faithfully as possible to an C<$!> value (Error C<404> becomes C<ENOENT>, C<403> becomes C<EACCESS>, et cetera…).

=head1 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.

=head1 AUTHOR

Leon Timmermans <leont@cpan.org>

=head1 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.

=cut