![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Platform-independent copying multiple filesby tomazos (Deacon) |
on Oct 18, 2005 at 09:39 UTC ( #500916=perlquestion: print w/replies, xml ) | Need Help?? |
tomazos has asked for the wisdom of the Perl Monks concerning the following question: Let's suppose we have a $source glob string like:
and a $destination like
I want to copy all the files from $source to $destination in a platform-independent way At the moment the best I can think of is: system("cp $source $destination");Is there a better way? -Andrew.
Back to
Seekers of Perl Wisdom
|
|