Hello

I think we are loosing track of what I want to do.

I want to stay out of the dir code approach.

I want to find all the files on a drive (C, D...) and put them into an array. I would like access to the file size of the files so if I find 2 files with the same name I want to compare the file size.

My goal is to create 3 directories. The first would contain only the directory names. The second one would have the file name (minus directory path) and each file would have a corresponding entry that would point to the entry in directory array for this file. A 4th array would contain the file size.

Now in layman terms how can I do this in perl without using a "dir" to keep it as portable as possible.

Andrew


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to