The File::Find module does fine for this. You define the function to make
the chmod changes, and it is called for all files in a tree.

I used to use the Recurse module also, but I think it is no longer
supported.

L

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gerry
Hickman
Sent: Thursday, July 18, 2002 3:00 PM
To: [EMAIL PROTECTED]
Subject: Recurse folders and files?


Hi,

Does anyone know a good snippet of script to do this, or good place to
look in the docs? I specifically need to recurse a tree structure and
chmod lots of *.pl files.

--
Gerry Hickman (London UK)
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to