For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > April 2004 > Re: How can I pass variables.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: How can I pass variables.
Sukhbir Dhillon

2004-04-18, 9:30 am

I'm trying to call second program from first program and I need to pass 2
parameters. Any suggestions how can I achieve that.
Thanks
Sukhbir
Carsten Aulbert

2004-04-18, 10:30 am



Sukhbir Dhillon wrote:
> I'm trying to call second program from first program and I need to pass 2
> parameters. Any suggestions how can I achieve that.


Try 'perldoc -f system' (this is *one* possibility) and parse the
command line in the second programm (@ARGV).

HTH

Carsten
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com