in reply to Re^2: How can I readdir and ! -d in one line
in thread How can I readdir and ! -d in one line

A perl equivalent (of sorts) might be to chain greps on different conditionals, but (IMHO) that's not particularly clearer in this case than simply having the one predicate step check both conditions (not-dir and starts with a wordchar) at the same time.

my @files = grep { ! -d qq{$myDir/$_} } grep { /^\w/ } readdir( I );

The cake is a lie.
The cake is a lie.
The cake is a lie.