Load a text file

Submitted by:David Villa

Date added:18 March, 2015

Category:Perl

Example shows how to load a text file

Tags: load text , load file

Code Snippet:

open(TEST, "test.txt");
while (<TEST>){

# print the current line
print "$_<br>";

}
close(TEST);
 
 

Comments