PL/Perl: when to set @INC?

K

kj

This is a question about PL/Perl, PostgreSQL's Perl procedural
language.

I have a database where I want to make heavy use of PL/Perl stored
procedures. Also, I'd like these procedures to be able to load
Perl modules that reside outside the paths in the default @INC, so
I'd like to modify @INC appropriately as soon as possible after
the PostgreSQL server is started.

Does anyone know how to do this?

TIA!

Kynn
 
T

Tad J McClellan

kj said:
I'd like these procedures to be able to load
Perl modules that reside outside the paths in the default @INC, so
I'd like to modify @INC appropriately as soon as possible after
the PostgreSQL server is started.

Does anyone know how to do this?


perldoc -q INC

How do I add a directory to my include path (@INC) at runtime?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top