Gavin Bowlby wrote: > All: Hello,
> I have a program that reads STDIN for user commands while the program is > running. > > I'm adding the capability to queue up user commands from the shell > command line when the program is invoked. > > I'd like to be able to queue the command line data up in STDIN, so that > when the program goes into a loop reading STDIN, it will see the command > line data that was queued up as if it came from the command line. It sounds like you may need the Expect module. perldoc Expect John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
