This more or less says "as long as you can read a line, do so and replace the contents of $show with the content of that line".while(chomp(my $line = <$fh>)) { $show = "$line\n"; }
In reply to Re: error printing all text in text file
by soonix
in thread error printing all text in text file
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |