What do you actually want printed? Print and copy are orthogonal operations - I don't understand how it makes sense to "put the print command directly into the copy command" unless you mean to modify the copy sub to print its parameters.
if you want a modified copy sub you could:
sub myCopy { my ($source, $target) = @_; print "Copying from $source to $target\n"); return © }
In reply to Re^3: print copy source and destination
by GrandFather
in thread print copy source and destination
by drodinthe559
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |