Practical mod_perl / HTML Book /



previous page: 24.5.3. Startup File
  
page up: HTML Version of the book
  
next page: 24.5.5. mod_perl 2.0 Core Handlers

24.5.4. Perl's Command-Line Switches


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







TOP
previous page: 24.5.3. Startup File
  
page up: HTML Version of the book
  
next page: 24.5.5. mod_perl 2.0 Core Handlers


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


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

© 2007 StasoSphere.com