in reply to regex to capture files that start with a lowercase letter

readdir is low-level, avoid it , use Path::Tiny
use Path::Tiny qw/ path /; my @files = path( 'anypath' )->children( qr/^[a-z].+\.txt$/ );
  • Comment on Re: regex to capture files that start with a lowercase letter (path tiny)
  • Download Code