|
|
PL/Perl: when to set @INC?
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.
|
|
0
|
|
|
|
Reply
|
kj
|
2/23/2008 10:12:24 PM |
|
kj <socyl@987jk.com.invalid> wrote:
> 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.noitatibaher\100cmdat/"
|
|
0
|
|
|
|
Reply
|
Tad
|
2/24/2008 3:50:39 AM
|
|
In <slrnfs1qcf.hno.tadmc@tadmc30.sbcglobal.net> Tad J McClellan <tadmc@seesig.invalid> writes:
>kj <socyl@987jk.com.invalid> wrote:
>> 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.
|
|
0
|
|
|
|
Reply
|
kj
|
2/24/2008 5:08:53 PM
|
|
|
2 Replies
47 Views
(page loaded in 0.136 seconds)
Similiar Articles: getting cpan configured - comp.unix.shellIf the environment variable NNTPSERVER is not set, then "news" will be ... This is my latest effort: $ perl jabba9.pl News::NNTPClient: Bad hostname: news at ... Trouble installing DBD-Oracle-1.23 on Cygwin - comp.lang.perl.misc ...I set my ORACLE_DSN and ORACLE_USERID to refer to the database my first ... I tried using both "perl Makefile.PL -V 10.2.0.4" (database version) and "perl Makefile.PL ... MEX ERROR: "Could not find the compiler "cl" on the DOS path ...I set the environment variable VCINSTALLDIR to "C ... C:\PROGRA~1\MATLAB\R2010B\BIN\MEX.PL: Error: Unable to ... let me install the compiler, the combination of the perl ... Vista 64 Install - comp.soft-sys.matlab> > Warning: MATLAB did not appear to successfully set the search path ... s*$'},'')); % deblank lead and trail end % If Perl exists, execute "getphlpaths.pl" if ... Unable to compile CUDA mex in Matlab R2010a 64bit CUDA - comp.soft ...[...] > C:\PROGRA~1\MATLAB\R2010A\BIN\NVMEX.PL: Error: Using options file: > C:\Users ... VCINSTALLDIR%\VCPackages;%INCLUDE%;%CUDA_INC_PATH%;%NVSDKCUDA_ROOT%\common\inc set LIB ... Using javascript variable value in Perl script - comp.lang ...... value; document.write( '<img src="/path/to/script.pl?x ... sent as a get parameter. > '<img src="/path/to/'+x+'/perl ... command line variable=value. this variable will be set ... help on progressbar - comp.lang.perl.tkHi, I am trying to learn perl tk. Any help to find ... F1 Key for help... where to place the listener? 3 153 (1 ... formatting type, file system type etc that I set, after ... is closing an opened file required before unlinking it? - comp ...Observe: linux% cat test.pl #!/usr/bin/perl $file='asdf'; open HANDLE,">$file"; print "File ... DBU as to whether you can set this option before opening a file. ... 165K ... perl + regex bug? - comp.lang.perl.miscwhat kind of weirdness is this? i've pasted perl -V at the bottom. if this is some ... I have a set of combinatorially produced strings that look like "_1_3_4_5" and I ... Encoding question - comp.lang.perl.miscOS is Debian/Linux using Perl 5.6 I'm using this code ... the encoding that I can use the extended ASCII set ... characters or national currency symbols in place of some ... How is Perl's INC set? - LinuxQuestions.orgLinux - General This Linux forum is for general Linux questions and discussion. If it is Linux Related and doesn't seem to fit in any other forum then this is the place. Perl Module Mechanics - www.TheWorld.com: The World's Home PageReady, Set, Go . Development directories ; How hard could it be? h2xs . Creating a ... Makefile.PL is a Perl program, but it has no #! line, so you have to invoke the ... 7/25/2012 1:09:02 PM
|
|
|
|
|
|
|
|
|