in reply to Perl script to download readable .pdf file.

I don't have Adobe Acrobat, but I can open the downloaded file in okular without problems.

Have you tried setting binmode on $fh1 before printing to it?

($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,

Replies are listed 'Best First'.
Re^2: Perl script to download readable .pdf file.
by rachard11 (Acolyte) on May 05, 2017 at 15:44 UTC
    I was not familiar with binmode, but I just tried it and it worked! Thanks!