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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Platform-independent copying multiple files
by Skeeve (Parson) on Oct 18, 2005 at 09:47 UTC | |
|
Re: Platform-independent copying multiple files
by Delusional (Beadle) on Oct 18, 2005 at 10:57 UTC | |
|
Re: Platform-independent copying multiple files
by ambrus (Abbot) on Oct 18, 2005 at 13:36 UTC | |
by Ace128 (Hermit) on Oct 18, 2005 at 21:31 UTC |