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

Owner: Nobody in particular
Requestors: rob [...]

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 [...]
From: Robert L Mathews <rob [...]>
Download (untitled) / with headers
text/plain 505b
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

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to