[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] CPAN.pm-1.53 broken under MacPerl (and possibly under any 5.004)



I just started having some bizarre problems with CPAN.pm after 
upgrading to the latest, 1.53.  Turns out the problem boils down to 
this, modeled after line 3128:

#!perl -w
my $local_file = "MIME-Lite-1.137.tar.gz";
if  ($local_file =~ /(\.tar\.(gz|Z)|\.tgz)\z/i) {
     print "does\n";
} else {
     print "doesn\'t\n";
}

which under MacPerl, and possibly under any 5.004 (my 5.004_05 
machine got upgraded to 5.6.0, so I can't verify this), prints 
"doesn't".  \z is not supported under MacPerl.  Hence, CPAN.pm can't 
unpack any archive properly, because none of the patterns will match.
-- 
--
Paul Schinder
schinder@pobox.com

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org