(print, like many Perl functions defaults to using the variable $_ if no other arguments are given. The loop stores each line of the file in $_ if it is not asigned to any other variable)while (<FIL>) { print; }
In reply to Re: Re: Printing contents of file on a HTML page.
by Anonymous Monk
in thread Printing contents of file on a HTML page.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |