use File::Find .. I think that will do exactly what you need

http://www.perldoc.com/perl5.8.0/lib/File/Find.html



SHEIKH Sajjad writes:

Hi all,

I would like to read the files under a folder and subfolders.

For example,

I have 3 folders on top level

F1, F2, F3

F1 has files and sub folders. Same goes to F2 and F3.

Desired output will be written in file as following

C:\F1
C:\F1\F12
C:\F1\F12\F13
C:\F2
C:\F2\F22
Etc etc


Any suggestion?

_______________________________________________
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