Be explicit, and say <STDIN> to read from there instead of a file.
In reply to Re: fileHandle vs prompt by Anonymous Monk in thread fileHandle vs prompt by jfjobidon