in reply to print copy source and destination

Perhaps you mean this:

copy($source, $targetdir1) or die "Copy $source to $targetdir1 Failed: $!\n";

Replies are listed 'Best First'.
Re^2: print copy source and destination
by drodinthe559 (Monk) on Oct 02, 2008 at 22:44 UTC
    I thought it was like the example I gave above, but I could be wrong. I just stick with what the consensus is providing as a solution.