in reply to How to efficiently parse "ls -a"?

What's wrong with the glob operator thing?

my $dir = '/the/path/here'; my @files = <$dir/*>;