Help for this page

Select Code to Download


  1. or download this
    open my $fh, '<', $originalFile
        or die "Can't read '$originalFile': $!\n";
    IO::Compress::Gzip::gzip $fh => $gzippedPath;
    close $fh or die "Close failed on '$originalFile: $!\n";
    
  2. or download this
    # No name, no time (nameless and timeless?)
    IO::Compress::Gzip::gzip $originalFile => $gzippedPath,
    ...
    # A name of my choosing.
    IO::Compress::Gzip::gzip $originalFile => $gzippedPath,
        Name => 'Nyuck' x 3;