go ahead... be a heretic | |
PerlMonks |
Re: Passing a structure from C to Perlby BrowserUk (Patriarch) |
on Mar 23, 2018 at 08:11 UTC ( [id://1211592]=note: print w/replies, xml ) | Need Help?? |
Personally, I'd use popen() to start the process and have the perl process read the parameters from its standard input. That way, you bypass all the problems of command lines -- limited lengths, quoting, dangers of binary data triggering unintended actions -- and you can pass th edata in whatever form makes most sense to you, text or binary, and write it in one big chunk or as many small chunks as you like. All together more satisfactory IMO. 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". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
Suck that fhit
In Section
Seekers of Perl Wisdom
|
|