in reply to Re^4: cp in perl
in thread cp in perl
These factors make it (sadly!) more probable that copy is assumed to do something it does NOT do, i.e. copy @files, $dir.
Btw, move has the same problems, simply moving its 1st onto its 2nd parameter, silently ignoring any other arguments.
-- Hofmator
Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|