Can i get a known working PERLscript to perform decryption / encryption using "gpg" on a windows machine.
heres is what does not work.
use GnuPG qw(:algo);
my $gpg=new GnuPG(gnupg_path=>"C:\\gnupg");
$gpg->decrypt( ciphertext=>"/gensrvnt/ftp/test/28942478.intchg", output=>"/gensrvnt/ftp/test/perltest", passphrase=>"#######");
the error i get is
The vendor has not defined Fcntl macro F_SETFD, used at C:/Perl/lib/GnuPG.pm line 203