Subject: | [PATCH] GnuPG::Interface documentation example is wrong for list_public_keys() |
Date: | Thu, 29 Apr 2010 12:39:02 +0900 |
To: | bug-GnuPG-Interface [...] rt.cpan.org |
From: | Ansgar Burchardt <ansgar [...] 43-1.org> |
Hi,
Daniel Kahn Gillmor reported the attached bug in Debian's bug tracker[1].
I think the real problem is a few lines before:
my @ids = [ 'ftobin', '0xABCD1234' ];
Here (...) should be used instead of [...] so that @ids is a list of
two strings instead of a list of one arrayref.
Please consider applying the attached patch for the next release.
Regards,
Ansgar
[1] <http://bugs.debian.org/579587>
From: Ansgar Burchardt <ansgar@43-1.org>
Thu, 29 Apr 2010 12:32:33 +0900
Bug-Debian: http://bugs.debian.org/579587
Subject: Fix example for list_public_keys
--- libgnupg-interface-perl.orig/lib/GnuPG/Interface.pm
+++ libgnupg-interface-perl/lib/GnuPG/Interface.pm
@@ -1136,7 +1136,7 @@
# and read from our input, because no input is needed!
my $handles = GnuPG::Handles->new();
- my @ids = [ 'ftobin', '0xABCD1234' ];
+ my @ids = ( 'ftobin', '0xABCD1234' );
# this time we need to specify something for
# command_args because --list-public-keys takes
Subject: | Bug#579587: libgnupg-interface-perl: GnuPG::Interface documentation example is wrong for list_public_keys() |
To: | Debian Bug Tracking System <submit [...] bugs.debian.org> |
Date: | Wed, 28 Apr 2010 16:01:31 -0400 |
From: | Daniel Kahn Gillmor <dkg [...] fifthhorseman.net> |
Package: libgnupg-interface-perl
Version: 0.42-2
Severity: normal
Tags: patch
The example in GnuPG::Interface documentation for the list_public_keys
functionality adds a mistaken layer of indirection, which causes the
gpg query to fail.
The attached patch fixes the documentation.
Thanks,
--dkg
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-4-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgnupg-interface-perl depends on:
ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep
ii gnupg2 2.0.14-1 GNU privacy guard - a free PGP rep
ii libany-moose-perl 0.12-1 module to use either Moose or Mous
ii perl 5.10.1-12 Larry Wall's Practical Extraction
libgnupg-interface-perl recommends no packages.
libgnupg-interface-perl suggests no packages.
-- no debconf information
Message body is not shown because sender requested not to inline it.
Show quoted text
_______________________________________________
pkg-perl-maintainers mailing list
pkg-perl-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-perl-maintainers