in reply to How can one create a text file in the subfolder of a folder?
The problem is
map {mkdir $_; chdir $_;} @folders;
that you don't chdir back to where you came from.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can one create a text file in the subfolder of a folder?
by supriyoch_2008 (Monk) on Apr 22, 2017 at 13:23 UTC | |
by shmem (Chancellor) on Apr 22, 2017 at 14:47 UTC | |
by RonW (Parson) on Apr 26, 2017 at 22:07 UTC |