Re: mod_perl2 STDOUT question
by Perrin Harkins other posts by this author
Aug 20 2008 9:47AM messages near this date
mod_perl2 STDOUT question
|
RE: mod_perl2 STDOUT question
On Wed, Aug 20, 2008 at 11:26 AM, Niels Larsen <niels@[...].dk> wrote:
> I can put
> the command line to run in backticks and do print `@command`, and
> that too works, but would like to use system, Proc::SafeExec, etc.
To fork and capture output without backticks, you have to do something
with pipes, like the IPC::Open* modules do. This isn't
mod_perl-specific and I think you can find some good examples in the
perl documentation. Maybe perlopentut would be a good starting place?
- Perrin
Thread:
Niels Larsen
Perrin Harkins
Eric Berg
Jim Brandt
|