On Wed, Oct 6, 2010 at 7:24 PM, Chris E. Rempola <ch...@bayarea.net> wrote:

> I am making a Perl script that needs to execute another Perl script. The
> second script is sort of like a verification thing before it does it's thing
> and it asks to confirm some details.
>
> For example, the second script will prompt to enter your name which it
> grabs STDIN.
>
> Can someone point or tell me what to do in the first script to kind of fake
> STDIN.  So when prompted, will run the second script and auto-complete.  Any
> suggestions?  Thanks.
>

Take a look at http://perldoc.perl.org/perlopentut.html#Pipe-Opens.

-- 
Robert Wohlfarth

Reply via email to