| | Re: perl file copy question
|
|
(...) that does help! (meanwhile I got a version working that uses system(), just as a stopgap...) However I really don't want to use system() (or any process spawning things) and since I want to wildcard aren't I going to have to use glob() to get (...) (19 years ago, 5-Oct-05, to lugnet.off-topic.geek)
|
|
| | Re: perl file copy question
|
|
(...) Does this code help? It shows the outputs. Decided to have a fiddle with what Ross posted to see what everything did. Tim use File::Glob ':glob'; use File::Basename; $ddn="destination directory"; @t=(<g:/docs/in_prog...bes/*.*>); foreach $f (...) (19 years ago, 5-Oct-05, to lugnet.off-topic.geek)
|
|
| | Re: perl file copy question
|
|
(...) Yes, it returns a list of filename strings, including any relative path. ROSCO (19 years ago, 5-Oct-05, to lugnet.off-topic.geek)
|