Load a text file

Shows how to load a text file
open(TEST, "test.txt"); while (<TEST>){ # print the current line print "$_<br>"; } close(TEST);

Url: http://www.jonasjohn.de/snippets/perl/open-file-example.htm

Language: Perl | User: ShareMySnippets | Created: Oct 16, 2013