books
Free Books / Computers / Practical mod_perl /

previous page: 6.3.3.3. A quick but ineffective hackish solution
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.3.3.5. A second solution

6.3.3.4. A first solution




Description

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

The first faulty scenario can be solved by placing library modules in a subdirectory structure so that they have different path prefixes. The new filesystem layout will be:

projectA/ProjectA/MyConfig.pm
projectA/run.pl
projectB/ProjectB/MyConfig.pm
projectB/run.pl

The run.pl scripts will need to be modified accordingly:

use ProjectA::MyConfig;

and:

use ProjectB::MyConfig;

However, if later on we want to add a new script to either of these projects, we will hit the problem described by the second problematic scenario, so this is only half a solution.

 

Continue to:

  • prev: 6.3.3.3. A quick but ineffective hackish solution
  • Table of Contents
  • next: 6.3.3.5. A second solution

Books by Stas Bekman:















TOP
previous page: 6.3.3.3. A quick but ineffective hackish solution
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.3.3.5. A second 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