use IO::File;$filehandle = new IO::File;$filehandle->open("while (defined($char = $filehandle->getc)) { print $char;}$filehandle->close;