in reply to May I read all folder and subfolders for one directory, and yours files?

Try File::Find instead, which will quite happily recurse through subdirectories for you.

use File::Find qw/ find /; find \&names_and_sizes => '/GCN v 1.0/gcnnuevo'; sub names_and_sizes { print $_, " ", -s; }

    --k.


  • Comment on Re: May I read all folder and subfolders for one directory, and yours files?
  • Download Code