PGP
view release on metacpan or search on metacpan
PGP/Pipe.pm view on Meta::CPAN
{ $baseopts = '+force +verbose=1' }
else
{ $baseopts = '+force +batchmode +verbose=1' };
# Variable substitutions
$args =~ s/%p/$self->{PGPPATH}/g;
$args =~ s/%r/$self->{PGPPATH}\/$self->{Keyring}/g; # PGP::Keyring
$args =~ s/%k/0x$self->{Keyid}/g; # PGP::Key
# Put the file descriptors in the callers package
$fin = (caller)[0] . "::$in";
$fout = (caller)[0] . "::$out";
$ferr = (caller)[0] . "::$err";
Debug ("PGP::Exec=$self->{PGPexec} $baseopts $args");
# just to make sure that PGPPATH is exported!
$ENV{PGPPATH} = $self->{PGPPATH};
$result = open3 ($fin, $fout, $ferr, "$self->{PGPexec} $baseopts $args") || croak "PGP command error";
}
=item * PGP::Sign
( run in 0.960 second using v1.01-cache-2.11-cpan-a3c8064c92c )