Request for adding libio-all-lwp-perl

Carsten Aulbert carsten.aulbert at aei.mpg.de
Mon Jun 15 19:18:14 UTC 2009


Hi all,

I hope this list is the correct list for the request. Ive just started
to play around with IO::All and really like it, however the easy way to
get a filehandle to a webpage is not really doable since IO::All::LWP is
not part of IO::All or available as an extra package.

http://search.cpan.org/~itub/IO-All-LWP/lib/IO/All/LWP.pm

Would it be possible to add it, please?

Imagine how much work it would be to do this the "old-fasioned" way:

use YAML;
use IO::All;
use Parse::Debian::Packages;

my $fh = io('http://my.debian.repo.org/repo/binary-amd64/Packages')->tie;

my $parser = Parse::Debian::Packages->new( $fh );
while (my %package = $parser->next) {
    print Dump \%package;
    print '*' x 80, "\n";
}

Thanks for a short reply if this would be feasible for the future.

Cheers

Carsten



More information about the pkg-perl-maintainers mailing list