in reply to Re^2: Using Crypt::OpenPGP with large files
in thread Using Crypt::OpenPGP with large files

Is there anything wrong with that? Need to open $fh to output file and then print to the output file the plain text after it was decrypted.

But your code does not try to print anything to $fh, all it does is create an empty file ..

Still the issue is the decrypt function returns to variable as opposed to being able to pass output filehandle

Yeah decrypt doesn't do that

You can make a feature request or bug report at rt://Crypt-OpenPGP ( bug-Crypt-OpenPGP@rt.cpan.org )

It would be nice if decrypt didnt slurp giant files

  • Comment on Re^3: Using Crypt::OpenPGP with large files

Replies are listed 'Best First'.
Re^4: Using Crypt::OpenPGP with large files
by roperl (Beadle) on Jul 25, 2017 at 14:18 UTC
    Your right, $fh = $pt; should have been print $fh $pt; I think copied the incorrectly into my original post