Skip Menu |

This queue is for tickets about the Crypt-GPG CPAN distribution.

Report information
The Basics
Id: 40213
Status: new
Priority: 0/
Queue: Crypt-GPG

People
Owner: Nobody in particular
Requestors: rob [...] tigertech.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Documentation is incorrect for msginfo
Date: Mon, 20 Oct 2008 17:48:39 -0700
To: bug-Crypt-GPG [...] rt.cpan.org
From: Robert L Mathews <rob [...] tigertech.com>
The msginfo() function requires an arrayref. However, the documentation describes the parameters as either a scalar: my @recipients = $gpg->msginfo($encrypted); Or as a list: msginfo(@ciphertext) Neither of these examples will work because they aren't arrayrefs. It actually requires something like this to work: my @recipients = $gpg->msginfo([$encrypted]); ... which I found very confusing. It would seem better to have it take a scalar (or list), as documented. -- Robert L Mathews