* "Dr.Ruud" <[EMAIL PROTECTED]> [2006-05-24T08:13:15]
> "Angus" schreef:
> > my @encrypted = $gpg->encrypt ('$data', '[EMAIL PROTECTED]');
> 
> 
> That call doesn't seem right to me:
> http://search.cpan.org/~frajulac/GnuPG-0.09/
> 
> The protoptype in GnuPG.pm: encrypt($%)

On one hand, you're quite right.  Looking at the code shows that the argument
to the method should be a hash.

On the other hand, the author of GnuPG is confused.  Prototypes are entirely
ignored when calling methods.  He could make the prototype (@$$&;@) and nothing
would care.

-- 
rjbs

Attachment: signature.asc
Description: Digital signature

Reply via email to