WriteFile Equivalent in perl

rag84dec's Avatar, Join Date: Jul 2007
Go4Expert Member
HI all,
I want to write some data to a tape drive through perl.. one idea
is to use scsi commands to send data.But i want to write it through
filesystem with the usage of something like "WriteFile" in c++.Can
anyone help me ??..Is there something equivalent to "WriteFile"
in perl??...Any other idea to write data into Tape drive???

shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
open (MYFILE, 'abc.txt');
while (<MYFILE>) {
  print "$_\n";
close (MYFILE);
Not a PERL Expert but knows very little