File-HTTP
view release on metacpan or search on metacpan
---
abstract: 'open, read and seek into remote files and directories transparently'
author:
- 'Thomas Drugeon, <tdrugeon@cpan.org>'
build_requires:
ExtUtils::MakeMaker: 6.36
Test::More: 0.42
configure_requires:
ExtUtils::MakeMaker: 6.36
distribution_type: module
dynamic_config: 1
generated_by: 'Module::Install version 1.19'
lib/File/HTTP.pod view on Meta::CPAN
=head1 NAME
File::HTTP - open, read and seek into remote files and directories transparently
=head1 SYNOPSIS
use File::HTTP qw(:open);
# open and read a remote file (server must allow range queries)
open(my $fh, '<', 'http://example.com/robots.txt') or die $!;
while (<$fh>) {
chomp;
lib/File/HTTP.pod view on Meta::CPAN
chomp;
...
}
# make your module HTTP compatible when File::HTTP is installed.
# on top of module:
eval {use File::HTTP qw(:open)};
=head1 DESCRIPTION
C<File::HTTP> open, read and seek into remote files and directories transparently
=over 4
=item open [MODE] FILE
=item stat FH or FILE
Imported with the :open tag.
Act exaclty as CORE::open and CORE::stat, but also work with remote HTTP files.
( run in 0.540 second using v1.01-cache-2.11-cpan-0a6323c29d9 )