my $gpg = new Crypt::GPG; $gpg->gpgbin('/usr/bin/gpg'); $gpg->secretkey('0x2F7B366A'); $gpg->passphrase('test'); $gpg->debug(1); # Works my @encrypted = $gpg->encrypt('This is a test', 'devnull@codefix.net'); # Breaks my ($cleartxt, $signature) = $gpg->verify(\@encrypted); print "$signature\n\n$cleartxt\n"; #### Can't use string ("0x2F7B366A") as a HASH ref while "strict refs" in use at /usr/lib/perl5/vendor_perl/5.8.6/Crypt/GPG.pm line 176.