- or download this
my $log = new File::QuickLog(file => "logtaild.log");
- or download this
$log->print("Starting in build mode.");
- or download this
(in cleanup) Can't call method "open" on an undefined value at ./logt
+aild.pl line 334 during global destruction.
- or download this
my $self = bless { _logfile => $arg{'file'} ? $arg{'file'} : $arg[0],
_fh => new FileHandle,
_logstart => _datetime(),
}, $class;
- or download this
unless($self->{'_fh'}->open (">>".$self->{'_logfile'})){
croak "Failed to open \"".$self->{'_logfile'}."\"";
}