Help for this page

Select Code to Download


  1. or download this
    system( "tar -xvf $tarball $some_path" ) == 0
       or die "tar failed: $?";
    
  2. or download this
    use Archive::Tar;
    my $tar = Archive::Tar->new( $tarball )
        or die "Failed to open $tarball : $!";
    $tar->extract( $some_path )
        or die "Failed to extract $some_path: $!";