in reply to Re^3: File integrity checker
in thread File integrity checker
Running this a second time will fix the .gz file.open my $F, '+<', 'file.gz' or die $!; seek $F, -8, 2; my $c = getc($F); seek $F, -8, 2; print $F chr(ord($c) ^ 1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: File integrity checker
by roperl (Beadle) on Aug 24, 2017 at 21:05 UTC |