A file handle is an abstract indicator for accessing a file. It is retrieved after successfully opening the file using the file name. Afterwards the file handle is used instead of the file name for all file operations.
Questions tagged [filehandle]
407 questions
-3
votes
2 answers
cannot write a list of integers, which were made strings to a text file
Hi I'm opening and closing an input and an output file as "infile" and "outfile" and using them in a command line argument to extract specific content from one file to another. However the infile content is a list of integers and as I now know I…

cian
- 59
- 6
-5
votes
1 answer
Perl File Update After Each Print Statement
When I write a file in Perl, the complete content of each Print statement is getting updated on the file once the program is complete.
Is there a way in which the file can be updated after each print statement is executed ?
I tried setting $|=1, but…

Sujeet Padhi
- 254
- 1
- 20