|Just another Perl shrine|
Re: running string as perl script and pass into STDIN programaticallyby BrowserUk (Pope)
|on Feb 17, 2013 at 06:38 UTC||Need Help??|
Do I have this straight?
From one running perl program, you want to invoke a second copy of perl running a second, pre-existing perl program, pass it a 3rd perl program, in the form of a single string, that it will then pass to a 3rd copy of perl to run.
And the problems you are having are:
One question: why? (Including, but not limited to:why not just embed the 10 lines of code in second perl program in the first? Wrapped over as a function if necessary.)
Another question: Could you post an example of the program that is being fed to the 3rd level perl?
Update:Another question: Why? :)
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.