![]() |
|
more useful options | |
PerlMonks |
Re: copy files and directories recursivelyby pKai (Priest) |
on Apr 01, 2008 at 12:04 UTC ( #677744=note: print w/replies, xml ) | Need Help?? |
You have to adjust your logic. You are not testing the entries to copy for being directories. You have one -d test, but that is done on the "constant" (i.e. never changed) $newDir.
In Section
Seekers of Perl Wisdom
|
|