Write a perl program for copy one file to another
Answers
Answered by
0
Answer:
- use File::Copy;
- copy("sourcefile","destinationfile") or die "Copy failed: $!";
- copy("Copy.pm",\*STDOUT);
- move("/dev1/sourcefile","/dev2/destinationfile");
- use File::Copy "cp";
- $n = FileHandle->new("/a/file","r");
- cp($n,"x").
Similar questions
Hindi,
6 months ago
Math,
6 months ago
Computer Science,
6 months ago
Biology,
1 year ago
Chemistry,
1 year ago
India Languages,
1 year ago
Geography,
1 year ago