in reply to Re: Appending downlad file LWP
in thread Appending downlad file LWP

I forgot to mention that also exe doesn't work. They do not seem to be reconstructed properly and Windows say they are corrupted

Replies are listed 'Best First'.
Re^3: Appending downlad file LWP
by choroba (Cardinal) on Feb 17, 2018 at 00:19 UTC
    A, you're on MSWin? Try specifying
    open my $out, '>:raw', $file or die "$file: $!";

    to turn off special handling of newlines.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      Binmode tells the world what you need, not what it happens to be, bad choroba ba:D!