I've been trying to use CPAN.plx to get a copy of Bundle::DBI without success
I get the following errors:
Going to read Sirius A:Desktop Folder,Sirius A:Applications (Mac OS
9):MacPerl �:site_perl:.cpan:sources:authors:01mailrc.txt.gz
# Could pipe[not_here --decompress --stdout Sirius A:Desktop
Folder,Sirius A:Applications (Mac OS 9):MacPerl
�:site_perl:.cpan:sources:authors:01mailrc.txt.gz |]: Operation not
permitted, <FIN> line 1.
File 'Sirius A:Applications (Mac OS 9):MacPerl �:site_perl:CPAN.pm'; Line 4606
I looked at the source code and it seems to be choking here
=== Source Code ===
# CPAN::Tarzip::TIEHANDLE
sub TIEHANDLE {
my($class,$file) = @_;
my $ret;
$class->debug("file[$file]");
if ($CPAN::META->has_inst("Compress::Zlib")) {
my $gz = Compress::Zlib::gzopen($file,"rb") or
die "Could not gzopen $file";
$ret = bless {GZ => $gz}, $class;
} else {
my $pipe = "$CPAN::Config->{'gzip'} --decompress --stdout $file |";
my $fh = FileHandle->new($pipe) or die "Could pipe [$pipe]: $!";
binmode $fh;
$ret = bless {FH => $fh}, $class;
}
$ret;
}
=== Source Code ===
Compress::Zlib is installed so I think something else is amiss, but what?
Tech Specs:
MacPerl 5.6.1r1
OS 9.1