books
Free Books / Computers / Practical mod_perl /

previous page: 6.3.3.4. A first solution
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.3.3.6. A third solution

6.3.3.5. A second solution




Description

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

Another approach is to use a full path to the script, so the latter will be used as a key in %INC:

require "/home/httpd/perl/project/MyConfig.pm";

With this solution, we solve both problems but lose some portability. Every time a project moves in the filesystem, the path must be adjusted. This makes it impossible to use such code under version control in multiple-developer environments, since each developer might want to place the code in a different absolute directory.

 

Continue to:

  • prev: 6.3.3.4. A first solution
  • Table of Contents
  • next: 6.3.3.6. A third solution

Books by Stas Bekman:















TOP
previous page: 6.3.3.4. A first solution
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.3.3.6. A third solution

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