Computer Science, asked by Nikunjgrg1996, 10 months ago

Write a perl program for copy one file to another

Answers

Answered by kashafashrafa594
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