ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved