Programming Languages
C
Subjective
Mar 15, 2013
If you want to open and read data files with Perl. How would you do that?
Detailed Explanation
open FILEHANDLE - used to open data files and filehandle points to the file that is opened
read FILEHANDLE, SCALAR, LENGTH - used to read from filehandle of length LENGTH and the result is placed in SCALAR.
close FILEHANDLE - closes file after reading is complete.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts