Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Think about Loose Coupling
 
PerlMonks  

Re: importing functions with "PerlModule" Apache directive

by Khen1950fx (Canon)
on May 09, 2012 at 09:32 UTC ( #969584=note: print w/ replies, xml ) Need Help??


in reply to importing functions with "PerlModule" Apache directive

PerlModule is equivalent to require. For example:

#!usr/bin/perl use strict; use warnings; require Apache::DBI; require DBI; require CGI;
In your conf:
PerlModule Apache::DBI DBI CGI
Note that require is for "after" configuration. To use your modules at startup, use PerlLoadModule:
PerlLoadModule Apache::DBI DBI CGI


Comment on Re: importing functions with "PerlModule" Apache directive
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969584]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (17)
As of 2013-05-21 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (429 votes), past polls