Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

perl file handling

open (READFILE, "<data.txt") or die "File opening failed"; #reading file
open (WRITEFILE, ">data.txt") or die "File opening failed"; #writing file
 
PREVIOUS NEXT
Tagged: #perl #file #handling
ADD COMMENT
Topic
Name
3+9 =