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

Well, you could just as well do this:

$fh = $pgp->decrypt(Filename => $file, Passphrase => $pp);

But depending on how that method works, you may not see any improvement. Worth a try though.

Replies are listed 'Best First'.
Re^4: Using Crypt::OpenPGP with large files
by Anonymous Monk on Jul 25, 2017 at 06:38 UTC
    All the code slurps files. Not a bad approach for starters, but it inevitably runs into memory limits