Is it by writing the path ""F:>/Perl/bin/edit xx.perl"" in MS-DOS?
Is it by writing the path ""F:>/Perl/bin/edit xx.perl"" in MS-DOS?
You use the open function.
e.g.:
================
#Input assuming a plain text file
open FILEHANDLE ">f:/path/to/input/file";
#Output
open OUTFILE "<f:/path/to/output/file";
foreach $Record (<FILEHANDLE>) {
print OUTFILE $Record;
}
close OUTFILE;
close FILEHANDLE;
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks