$pgp = Crypt::OpenPGP->new ( "PubRing" => $pubringfile #### Define path to public ring to be used for encryption )or die Crypt::OpenPGP->errstr;