in reply to fileHandle vs prompt
Be explicit, and say <STDIN> to read from there instead of a file.
It works fine now! Thanks a lot
JF