books
Free Books / Computers / Practical mod_perl /

previous page: 24.5.3. Startup File
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 24.5.5. mod_perl 2.0 Core Handlers

24.5.4. Perl's Command-Line Switches




Description

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

Now you can pass Perl's command-line switches in httpd.conf by using the PerlSwitches directive, instead of using complicated workarounds.

For example, to enable warnings and taint checking, add:

PerlSwitches -wT

The -I command-line switch can be used to adjust @INC values:

PerlSwitches -I/home/stas/modperl

For example, you can use that technique to set different @INC values for different virtual hosts, as we will see later.

 

Continue to:

  • prev: 24.5.3. Startup File
  • Table of Contents
  • next: 24.5.5. mod_perl 2.0 Core Handlers

Books by Stas Bekman:















TOP
previous page: 24.5.3. Startup File
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 24.5.5. mod_perl 2.0 Core Handlers

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