On Feb 8, 2008 12:52 PM, Pad <[EMAIL PROTECTED]> wrote:
> Can you pl.help me how to get chmod cmd that I am trying to set run
> on those directories. I was thinking of using system (" find ... -
> exec chmod 755 {} \; ")
So, does Perl's chmod() function work for you? You should be able to
use it in conjunction with the File::Find solution that you already
have. chmod is documented in the perlfunc manpage.
http://perldoc.perl.org/functions/chmod.html
Cheers!
--Tom Phoenix
Stonehenge Perl Training
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/