Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.140
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
perl /
vendor /
lib /
Crypt /
OpenPGP /
Delete
Unzip
Name
Size
Permission
Date
Action
Key
[ DIR ]
drwxrwxrwx
2024-07-26 17:38
Signature
[ DIR ]
drwxrwxrwx
2024-07-26 17:38
Armour.pm
7.91
KB
-rw-rw-rw-
2015-08-16 15:28
Buffer.pm
2.11
KB
-rw-rw-rw-
2015-08-16 15:28
CFB.pm
2.73
KB
-rw-rw-rw-
2015-08-16 15:28
Certificate.pm
15.95
KB
-rw-rw-rw-
2015-08-16 15:28
Cipher.pm
5.92
KB
-rw-rw-rw-
2015-08-16 15:28
Ciphertext.pm
7.01
KB
-rw-rw-rw-
2015-08-16 15:28
Compressed.pm
4.92
KB
-rw-rw-rw-
2015-08-16 15:28
Config.pm
3.01
KB
-rw-rw-rw-
2015-08-16 15:28
Constants.pm
2.39
KB
-rw-rw-rw-
2015-08-16 15:28
Digest.pm
4.36
KB
-rw-rw-rw-
2015-08-16 15:28
ErrorHandler.pm
2.37
KB
-rw-rw-rw-
2015-08-16 15:28
Key.pm
6.11
KB
-rw-rw-rw-
2015-08-16 15:28
KeyBlock.pm
3.64
KB
-rw-rw-rw-
2015-08-16 15:28
KeyRing.pm
8.08
KB
-rw-rw-rw-
2015-08-16 15:28
KeyServer.pm
4.32
KB
-rw-rw-rw-
2015-08-16 15:28
MDC.pm
2.5
KB
-rw-rw-rw-
2015-08-16 15:28
Marker.pm
893
B
-rw-rw-rw-
2015-08-16 15:28
Message.pm
4.32
KB
-rw-rw-rw-
2015-08-16 15:28
OnePassSig.pm
1.46
KB
-rw-rw-rw-
2015-08-16 15:28
PacketFactory.pm
8.63
KB
-rw-rw-rw-
2015-08-16 15:28
Plaintext.pm
3.24
KB
-rw-rw-rw-
2015-08-16 15:28
S2k.pm
6.05
KB
-rw-rw-rw-
2015-08-16 15:28
SKSessionKey.pm
6.15
KB
-rw-rw-rw-
2015-08-16 15:28
SessionKey.pm
6.69
KB
-rw-rw-rw-
2015-08-16 15:28
Signature.pm
12.44
KB
-rw-rw-rw-
2015-08-16 15:28
Trust.pm
797
B
-rw-rw-rw-
2015-08-16 15:28
UserID.pm
2.03
KB
-rw-rw-rw-
2015-08-16 15:28
Util.pm
4.85
KB
-rw-rw-rw-
2015-08-16 15:28
Words.pm
11.23
KB
-rw-rw-rw-
2015-08-16 15:28
Save
Rename
package Crypt::OpenPGP::ErrorHandler; use strict; use vars qw( $ERROR ); sub new { bless {}, shift } sub error { my $msg = $_[1]; $msg .= "\n" unless $msg =~ /\n$/; if (ref($_[0])) { $_[0]->{_errstr} = $msg; } else { $ERROR = $msg; } return; } sub errstr { ref($_[0]) ? $_[0]->{_errstr} : $ERROR } 1; __END__ =head1 NAME Crypt::OpenPGP::ErrorHandler - Crypt::OpenPGP error handling =head1 SYNOPSIS package Foo; use Crypt::OpenPGP::ErrorHandler; use base qw( Crypt::OpenPGP::ErrorHandler ); sub class_method { my $class = shift; # Stuff happens... return $class->error("Help!"); } sub object_method { my $obj = shift; # Stuff happens... return $obj->error("I am no more"); } package main; Foo->class_method or die Foo->errstr; my $foo = Foo->new; $foo->object_method or die $foo->errstr; =head1 DESCRIPTION I<Crypt::OpenPGP::ErrorHandler> provides an error-handling mechanism for all I<Crypt::OpenPGP> modules/classes. It is meant to be used as a base class for classes that wish to use its error-handling methods: derived classes use its two methods, I<error> and I<errstr>, to communicate error messages back to the calling program. On failure (for whatever reason), a subclass should call I<error> and return to the caller; I<error> itself sets the error message internally, then returns C<undef>. This has the effect of the method that failed returning C<undef> to the caller. The caller should check for errors by checking for a return value of C<undef>, and in this case should call I<errstr> to get the value of the error message. Note that calling I<errstr> when an error has not occurred is undefined behavior and will I<rarely> do what you want. As demonstrated in the I<SYNOPSIS> (above), I<error> and I<errstr> work both as class methods and as object methods. =head1 USAGE =head2 Class->error($message) =head2 $object->error($message) Sets the error message for either the class I<Class> or the object I<$object> to the message I<$message>. Returns C<undef>. =head2 Class->errstr =head2 $object->errstr Accesses the last error message set in the class I<Class> or the object I<$object>, respectively, and returns that error message. =head1 AUTHOR & COPYRIGHTS Please see the Crypt::OpenPGP manpage for author, copyright, and license information. =cut