in reply to Re^3: Most efficient way to print a file?
in thread Most efficient way to print a file?
I just want to do that in a better way :-)open(FILE, "<test.txt"); @myfile = <FILE>; close(FILE); foreach $myrow (@myfile) { $result .= $myrow; } return $result;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Most efficient way to print a file?
by JavaFan (Canon) on Jan 05, 2011 at 13:07 UTC |