jsw@wadell.org wrote:
>I am trying to get a perl cgi script running. Nearly there, but @INC does
>not include the location of the module I need to load. Where does INC get
>set?
>
>Thanks to all you hard core perl mongers!
>
>Jim
>---------
>To unsubscribe, send email to <aklug-request@aklug.org>
>with 'unsubscribe' in the message body.
>
>
>
I think the INC path is set at compile time (someone correct me if I'm
wrong), but you can modify it within your script by adding to the @INC
array like so:
unshift @INC, "/usr/opt/perl5/lib/site_perl";
Of course, substitute your need path.
Anthony
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Aug 25 14:49:06 2005
This archive was generated by hypermail 2.1.8 : Thu Aug 25 2005 - 14:49:06 AKDT