Help for this page

Select Code to Download


  1. or download this
    my $dirname= '/some/directory/with/files';
    my $input= '2013-09-04';
    ...
    my @found= grep /^\Q$input\E/, readdir $dh;
    
    ...
    
  2. or download this
    use File::Glob qw( bsd_glob );
    my @found= bsd_glob("$input*");