The problem is
map {mkdir $_; chdir $_;} @folders;
that you don't chdir back to where you came from.
In reply to Re: How can one create a text file in the subfolder of a folder?
by shmem
in thread How can one create a text file in the subfolder of a folder?
by supriyoch_2008
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |