Re: receiving input from different sources

2004-12-15 Thread Jonathan Paton
Dear Christopher, Keyboard input comes on STDIN, and you can not use STDIN for something else if you need the keyboard. [It *might* be possible to reopen the keyboard file descriptor, but ask a Unix C programmer]. Usually, you would make either the file to be processed an option or the actions y

Re: receiving input from different sources

2004-12-14 Thread Edward WIJAYA
On Tue, 14 Dec 2004 20:19:23 -0800 (PST), Christopher Spears <[EMAIL PROTECTED]> wrote: I need to be able to receive input from the keyboard, but is being used to process a file and <> is not appropiate for this purpose. Consider using "Getopt" module. perldoc Getopt::Long perldoc Getopt::Std