As pointed out above, the error is caused by the missing semi-colon on your now-commented use statement.
Other suggestions:
or:->dir1->file.txt ->dir2->file.txt ->dir3->file.txt
But it is redundant to have:->dir->file1.txt ->file2.txt ->file3.txt
->dir1->file1.txt ->dir2->file2.txt ->dir3->file3.txt
use File::Path qw/ make_path /; make_path( $_ ) for 1 .. 20;
Hope this helps!
In reply to Re: perform array manipulation and save files in different directories.
by 1nickt
in thread perform array manipulation and save files in different directories.
by Ganesh Bharadwaj1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |