You'll have to create the directories separately from the rename() because rename() doesn't do that. Read perldoc File::Path. Look for the mkpath routine.
In reply to Re: rename and create directories
by duff
in thread rename and create directories
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |