Help for this page

Select Code to Download


  1. or download this
    sub get_log_data
    {
        my ($fileid, $match) = @_;
        #...
    
  2. or download this
    sub get_log_data
    {
    ...
        local @ARGV = 'logfile';
        return join '', grep { (/$fileid/o .. /\A-{5}/) && /$match/o } <>;
    }