in reply to creating a list of files under each subfolder in a main directory

Just try to use the below code
open (my $OUTFILE, '>', "$curr_dir/List.txt") or die "Cant op +en '$dir.txt!' $!";
for opening the file handle....
  • Comment on Re: creating a list of files under each subfolder in a main directory
  • Download Code