Logger-Simple

 view release on metacpan or  search on metacpan

Simple.pm  view on Meta::CPAN

    }
    if(! print $FH "$format\n"){
      croak "Unable to write to log file: $!\n"; 
    }
    if($^O eq "MSWin32"){}else{ 
     $self->unlock();
    }
    $self->update_history($msg);
  }
  
  sub update_history{
    my($self,$msg)=@_;
    push @HISTORY,$msg;
  }

  sub retrieve_history{
    my $self=shift;
    if(wantarray){
      return @HISTORY;
    }else{
      my $message=$HISTORY[$#HISTORY];

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.171 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )