Hello Bill et al,
   
  The arguments are as many as 20 to 25 ... a typo here or there could create 
havoc ... get.sh is a widely used script ... it takes of many things in the 
workflow here but ... the parameter no. is huge ... but the sad part is the 
workflow still requires these parameters !!!
   
  is there no way we can pass a value from perl to a shell-script??? 
   
  Best,
  Ukh

Bill Luebkert <[EMAIL PROTECTED]> wrote:
  ukhas jean wrote:
> Morning All,
> 
> I have been beating round the bush for some time ... just thought tht 
> asking the experienced people would help. Hence Posting this mail.
> 
> I have a perl script called *"a.pl"* on a unix machine and i also have a 
> shell script called *"get.sh" *on the same machine. Now *"get.sh"* 
> prompts the user to answer many questions ... so i wanted to create a 
> perlscript *"a.pl*" that would enter fixed-values for these questions. 
> i.e. *"a.pl"* would be a wrapper script of "*get.sh".*
> ** 
> My question:- How do i pass these fixed-values from "*a.pl" *to 
> *"get.sh"*???

If you can modify get.sh to check for ARGV parameters, you could
also just pass the args in on the commandline and bypass all the
hard stuff.

system "/some/path/get.sh arg1 arg2 arg3 arg4";


 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to