Help for this page

Select Code to Download


  1. or download this
    note "\nTest function: get_files_in_watched_directory";
    subtest 'get_files_in_watched_directory' => sub {
    ...
      is_deeply(\@got_files, \@expected_files, 'Function should return a l
    +ist of directory contents that will be processed');
    
    };
    
  2. or download this
    ######################################################################
    +##################################
    sub get_files_in_watched_directory {  
    ...
      #return @content_to_process;
      return (@{$original_content_ref});
    }