in reply to perform array manipulation and save files in different directories.
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perform array manipulation and save files in different directories.
by Ganesh Bharadwaj1 (Sexton) on Dec 30, 2015 at 09:23 UTC |