books
Free Books / Computers / Practical mod_perl /

previous page: 6.4.7. Formats
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.4.9. BEGIN blocks

6.4.8. Output from System Calls




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

The output of system( ), exec( ), and open(PIPE,"|program") calls will not be sent to the browser unless Perl was configured with sfio. To learn if your version of Perl is sfio-enabled, look at the output of the perl -V command for the useperlio and d_sfio strings.

You can use backticks as a possible workaround:

print `command here`;

But this technique has very poor performance, since it forks a new process. See the discussion about forking in Chapter 10.

 

Continue to:

  • prev: 6.4.7. Formats
  • Table of Contents
  • next: 6.4.9. BEGIN blocks

Books by Stas Bekman:















TOP
previous page: 6.4.7. Formats
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.4.9. BEGIN blocks

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com