Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 7. CPAN > Item 69. Ensure that Perl can find your modules

Item 69. Ensure that Perl can find your modules

Perl modules are just files that the use directive loads into your programs. How does Perl find these files given just the module name?

The include path

Perl searches an include path, which is a list of directories stored in the global variable @INC.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial