use warnings;
use IO::Handle;
-use Cwd qw(chdir fastgetcwd);
+use Cwd qw(chdir cwd);
use constant FORMATS=>{
"rpm"=>'rpm2cpio !|cpio -id --quiet', #-v #FIXME: --sparse doesn't work, why?
die "Syntax: $0 <pathname((".join("|",map(".$_",sort keys %{+FORMATS})).")|=<ext>)>..."
if !@ARGV;
-my $origdir=fastgetcwd;
+my $origdir=cwd;
for my $fname (@ARGV) {
$fname=~m#([^/]+)([.=])(\L[^./]+\E)$# or die "Extension not found for archive: $fname";
my($path,$base,$ext)=($`,$1,$3);