books
Free Books / Computers / Practical mod_perl /

previous page: 6.3. Namespace Issues
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.3.2. The %INC Hash

6.3.1. The @INC Array




Description

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

Perl's @INC array is like the PATH environment variable for the shell program. Whereas PATH contains a list of directories to search for executable programs, @INC contains a list of directories from which Perl modules and libraries can be loaded.

When you use( ), require( ), or do( ) a filename or a module, Perl gets a list of directories from the @INC variable and searches them for the file it was requested to load. If the file that you want to load is not located in one of the listed directories, you must tell Perl where to find the file. You can either provide a path relative to one of the directories in @INC or provide the absolute path to the file.

 

Continue to:

  • prev: 6.3. Namespace Issues
  • Table of Contents
  • next: 6.3.2. The %INC Hash

Books by Stas Bekman:















TOP
previous page: 6.3. Namespace Issues
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 6.3.2. The %INC Hash

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