- or download this
#!/opt/perl5/bin/perl -w
use strict;
...
my $msg=$syslogger->error();
print "Message is $msg\n";
- or download this
Error
...
foreach($session->error()){
print “Error: $_\n”;
}
- or download this
sub error {
my $self = shift;
return $error->msg();
}
- or download this
sub msg {
my $self = shift;
...
}
return $self->{"ERROR"};
}