On Wed Jan 28 10:39:13 2015, porton@narod.ru wrote: > > This is a bug report for perl from porton@narod.ru, > generated with the help of perlbug 1.40 running under perl 5.20.1. > > > ----------------------------------------------------------------- > I suggest to add to Perl core a routine similar to glob(), but > using regexps instead of globs. > > But that functionality already exists, does it not? (untested) ##### opendir my $DIR, 'some/directory' or die; my @files = grep { m/some_pattern/ } readdir $DIR; closedir or die; ##### -- James E Keenan (jkeenan@cpan.org) --- via perlbug: queue: perl5 status: new https://rt.perl.org/Ticket/Display.html?id=123691Thread Previous | Thread Next