http://www.perlmonks.org?node_id=922200


in reply to Re: How to run a shell script from a Perl program?
in thread How to run a shell script from a Perl program?

its a vendor provided script which we are trying to stick into a a series of other things we are doing along with it.
sorry I should have given those details...
#!/usr/local/bin/perl use IPC::Run3; my $cmd = qq(/oracle/pieces/abc.sh); my @params = ('y','y','y'); my $params = join "\n", @in; run3([$cmd], \$params)

This has worked for me quite well.
I see a problem when I tested with IPC::Run3.
it appears that its not installed by default on all machines and I cant go about installing IPC::Run3.
appreciate if you could share any other method to do this