in reply to Re: File::Find, chmod and warnings
in thread File::Find, chmod and warnings

Or slightly more intuatively

do{ chmod($filemode, $_) or warn $! } if -f $_; do{ chmod($dirmode, $_) or warn $! } if -d $_;

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!

Replies are listed 'Best First'.
Re: Re: Re: File::Find, chmod and warnings
by etcshadow (Priest) on Oct 26, 2003 at 03:20 UTC
    Yeah, good point.