Skip Menu |

This queue is for tickets about the Parse-CPAN-Authors CPAN distribution.

Report information
The Basics
Id: 45515
Status: resolved
Priority: 0/
Queue: Parse-CPAN-Authors

Owner: Nobody in particular
Requestors: cornelius [...]

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)

Subject: new from mailrc.txt.gz contents doesn't read from content.
Download (untitled) / with headers
text/plain 782b
hello leon. I am c9s(neo) :D Parse::CPAN::Authors->new doesnt read from content, but read from file. it shows: ?????????(...binary...)X?m?: No such file or directory at /opt/local/lib/perl5/site/... my code: -------------- use Parse::CPAN::Authors; use LWP::Simple qw(get); use Cache::File; use IO::Uncompress::Gunzip qw(gunzip $GunzipError); my $cache = Cache::File->new( cache_root => '/tmp/cpan-mailrc' ); my $mailrc_content = $cache->get('mailrc'); unless( $mailrc_content ) { my $mailrc_content_gz = get(''); my $status = gunzip $mailrc_content_gz => $mailrc_content or die "gunzip failed $GunzipError\n"; $cache->set('mailrc', $mailrc_content ); } my $p = Parse::CPAN::Authors->new($mailrc_content);
Download (untitled) / with headers
text/plain 128b
i misunderstand the gunzip behaviour so that gunzip can only read from file handler , isn't able to read from scalar content..

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to