Hello Monks,
I am using ActiveState perl on Windows Vista. A previous Oracle 10g installation had also installed some custom version of Perl. The only presence of that installation is know by the PERL5LIB variable, which points to various folders within Oracle installation.
I created my application module. which has a dependencies with a few CPAN modules. I put all those dependent modules in my <my application folder>/lib folder.
To avoid breaking anything in Oracle and not to step on each others' toes, I run my application using the following syntax:.
c:\perl\bin\perl -I"<my application folder>/lib" "<my application folder>/script/myscript.pl"
This works fine only if I destroy the PERL5LIB variable. With PERL5LIB variable in place, I start getting errors about missing modules, even though I am not using them.
Can you please suggest a graceful method to overcome this issue (meaning keeping Oracle environment in tact and running my app without any effects from Oracle side).
Thank you so much in advance.
Ash
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.