in reply to passing arguments to c prog
You can run commands from perl using system and backticks. If that's not what you want, what command line shell do you use? (And that's not a Perl question this way.) For example, passing STDOUT of Perl program as an argument to another program looks like this in a POSIX shell: ./c-program "$(perl -e "whatever")".
Edit: corrected a typo.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: passing arguments to c prog
by gsaro (Initiate) on Aug 24, 2013 at 17:53 UTC |