GnuPG::Handles - GnuPG handles bundle
use IO::Handle; my ( $stdin, $stdout, $stderr, $status_fh, $logger_fh, $passphrase_fh ) = ( IO::Handle->new(), IO::Handle->new(), IO::Handle->new(), IO::Handle->new(), IO::Handle->new(), IO::Handle->new() ); my $handles = GnuPG::Handle->new ( stdin => $stdin, stdout => $stdout, stderr => $stderr, status => $status_fh, logger => $logger_fh, passphrase => $passphrase_fh );
GnuPG::Handles objects are generally instantiated to be used in conjunction with methods of objects of the class GnuPG::Interface. GnuPG::Handles objects represent a collection of handles that are used to communicate with GnuPG.
This methods creates a new object. The optional arguments are initialization of data members; the initialization is done in a manner according to the method created as described in "new_hash_init" in Class::MethodMaker.
This method works as described in "new_hash_init" in Class::MethodMaker.
Note that these data members are interacted with via object methods created using the methods described in "get_set" in Class::MethodMaker, or "object" in Class::MethodMaker. Please read there for more information.
This handle is generally connected to the standard input of a GnuPG process.
This handle is generally connected to the standard output of a GnuPG process.
This handle is generally connected to the standard error of a GnuPG process.
This handle is generally connected to the status output handle of a GnuPG process.
This handle is generally connected to the logger output handle of a GnuPG process.
This handle is generally connected to the passphrase input handle of a GnuPG process.
See also GnuPG::Interface and Class::MethodMaker.
To install GnuPG::Interface, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GnuPG::Interface
CPAN shell
perl -MCPAN -e shell install GnuPG::Interface
For more information on module installation, please visit the detailed CPAN module installation guide.