|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Scripting novice here, witha quick question
I want to copy some files around using PERL. How can this be done? I can't seem to find a command to do it. I know about rename, but that only moves it. I want something that works like the UNIX cp command. Any thoughts? I'd really appreciate some help here... |
|
#2
|
|||
|
|||
|
Instructions as per File::Copy man page
use File::Copy; copy("file1","file2"); or use system() or shell command in backticks. eg: `cp file1 file2`; Hope this helps. |
|
#3
|
|||
|
|||
|
it does indeed help. I appreciate it!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > ? regarding copying files w/ PERL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|