in reply to Newby question

what book?

$infile is not a file handle, $infile is not READFILE