in reply to Re: passing number of files in directory to subroutine
in thread passing number of files in directory to subroutine
I agree wrt / versus \\ - that's my C/Windows background shining through again :).
Pretty sure the original problem was the missing / however.
I also think you are correct raising the issue of the file orders in the two arrays. Most OS's don't guarantee the order that files are stored in a dir and you can be pretty sure it won't be alphabetical for example. OP may be wise to sort the arrays before he uses them if the pairing order is important.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: passing number of files in directory to subroutine
by Angharad (Pilgrim) on Sep 23, 2005 at 11:45 UTC |