in reply to Re: directory?
in thread directory?

Or even:
foreach $n (grep { -d } @array) { ## do stuff }

Replies are listed 'Best First'.
(jeffa) 3Re: directory?
by jeffa (Bishop) on Jul 01, 2003 at 14:05 UTC
    Or even:
    do {'stuff'} for grep -d, @array;
    or maybe pass the buck to a subroutine:
    some_sub() for grep -d, @array;

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)