Mega Code Archive

 
Categories / Perl / File
 

Using IO

use IO::File; $filehandle = new IO::File; $filehandle->open("<hello.txt") or die "Cannot open hello.txt"; print <$filehandle>; $filehandle->close;