diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-05-06 23:54:51 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-05-09 17:29:52 -0400 |
commit | 0d83fa8ea2f31287a5c91203736e1441ace7d90b (patch) | |
tree | 3926ccb908dba84f189fae69fa12378b4ccd16f6 /lib | |
parent | c18b29501c3e3f82eddc622f3db90aa37d42e8d5 (diff) |
fixed synopsis example in GnuPG::Signature pod
Diffstat (limited to 'lib')
-rw-r--r-- | lib/GnuPG/Signature.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/GnuPG/Signature.pm b/lib/GnuPG/Signature.pm index f2ae5d6..4172c7c 100644 --- a/lib/GnuPG/Signature.pm +++ b/lib/GnuPG/Signature.pm @@ -49,8 +49,8 @@ GnuPG::Signature - GnuPG Key Signature Objects =head1 SYNOPSIS - # assumes a GnuPG::SubKey object in $key - my $signing_id = $key->signature->hex_id(); + # assumes a GnuPG::Key or GnuPG::UserID or GnuPG::UserAttribute object in $signed + my $signing_id = $signed->signatures->[0]->hex_id(); =head1 DESCRIPTION |