Click here to get back home

PL/Perl: when to set @INC?

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
PL/Perl: when to set @INC? kj 02-23-2008
Get Chitika Premium
Posted by kj on February 23, 2008, 5:12 pm
Please log in for more thread options


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

--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.

Posted by Tad J McClellan on February 23, 2008, 10:50 pm
Please log in for more thread options

> 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?


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"

Posted by kj on February 24, 2008, 12:08 pm
Please log in for more thread options


>> 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?

Not what I was trying to find out, but maybe this is not the right
forum for my question... My apologies.

kynn
--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.


Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap