Mega Code Archive
Categories
/
Perl
/
File
Using read function in while loop
use IO::File; $filehandle = new IO::File; $filehandle->open("
read($newtext, 1)) { $text .= $newtext; } print $text; $filehandle->close;