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 $_;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: File::Find, chmod and warnings
by etcshadow (Priest) on Oct 26, 2003 at 03:20 UTC |