Help for this page

Select Code to Download


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