in reply to Re^2: passing number of files in directory to subroutine
in thread passing number of files in directory to subroutine

I thought that if it the data was in a array the order was the same as whwn you added the values in

Yes, but the order in which the files are added to your array are not by default in alphabetic order. Most of the time, you get then in a different order, e.g. based on inode.

Paul

  • Comment on Re^3: passing number of files in directory to subroutine