@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb012 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
extlib
/
XML
/
Atom
/
Path :
Upload File :
New :
File
Dir
/homepage/v-mt/extlib/XML/Atom/ErrorHandler.pm
# $Id: ErrorHandler.pm,v 1.1 2003/09/08 00:00:50 btrott Exp $ package XML::Atom::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;