Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: problem with paths to library files

by themage (Friar)
on Jan 17, 2007 at 09:52 UTC ( [id://595055]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
    my $path=$0;
    $path=~s{[^\/]+$}{libs/};
    }
    use lib $path;
    
  2. or download this
    <virtualhost *:80>
    # ...
    PerlSetVar libpath "/path/to/your/libs/";
    </virtualhost>
    
  3. or download this
    BEGIN {
    my $path=$r->dir_config("libpath");
    }
    use lib $path;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://595055]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found