in reply to use lib in modules

What have you tried so far?

The traditional way to configure Apache is by having a <Perl> section in your site configuration file. Otherwise, have you looked at the lib pragma? In what way does it not work for you?

Replies are listed 'Best First'.
Re^2: use lib in modules
by Herkum (Parson) on Apr 03, 2008 at 16:23 UTC

    The problem I have is that I cannot change the Apache environment.

    Basically I am trying to incorporate new modules in environment where I cannot change anything because of the paranoia of the current developer.

    My solution was to install/upgrade modules in my home directory. If it was a cgi script it would be easy to do this, but with Apache controlling execution I am unsure what other options I have for changing the search path.

    If I use lib in a module (for example) does that globally change the @INC variable? Is there something that would happen that I should know about? I don't know so I figure I would ask.

      If I use lib in a module (for example) does that globally change the @INC variable?
      Yes. What are you (and the paranoid developer) afraid of?