in reply to Need help decoding string in Crypt::OpenPGP

Have you checked your logs? This looks wrong:

my ($plaintext,$valid,$sig)=$pgp->decrypt(Data => $phrase, Passphrase ++=> "abc123!");

You should have seen:

%s = ( Passphrase +=> 'abc123!' );; [syntax error at (eval 9) line 1, near "+=>"

There is weirdness in the next line also: $sig<br>err +or: ".


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^2: Need help decoding string in Crypt::OpenPGP
by Eliya (Vicar) on Mar 10, 2012 at 17:58 UTC

    Looks like the "+"s are just the result of having cut-n-pasted the code from the original anonymous post, in which it was correct...

      Eliya is correct, that was a cut and paste error from the original anonymous post. Sorry about that. It should have read:

      Passphrase => ...

      I tidied up the original message