Bug#579587: libgnupg-interface-perl: GnuPG::Interface documentation	example is wrong for list_public_keys()
    Daniel Kahn Gillmor 
    dkg at fifthhorseman.net
       
    Wed Apr 28 20:01:31 UTC 2010
    
    
  
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
-------------- next part --------------
--- lib/GnuPG/Interface.pm.orig	2010-04-28 15:56:55.000000000 -0400
+++ lib/GnuPG/Interface.pm	2010-04-28 15:58:17.000000000 -0400
@@ -1142,7 +1142,7 @@
   # command_args because --list-public-keys takes
   # search ids as arguments
   my $pid = $gnupg->list_public_keys( handles      => $handles,
-                                      command_args => [ @ids ]  );
+                                      command_args => @ids );
   
    waitpid $pid, 0;
 
    
    
More information about the pkg-perl-maintainers
mailing list