Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Can't locate conf.cgi in @INC

by kcott (Archbishop)
on Nov 24, 2020 at 01:28 UTC ( [id://11124104]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat ~/tmp/pm_11124087/lib/XYZ.pm
    package XYZ;
    
    1;
    
  2. or download this
    $ cat ~/tmp/pm_11124087/test_lib.pl
    #!/usr/bin/env perl
    ...
    use lib 'lib';
    
    use XYZ;
    
  3. or download this
    $ ./test_lib.pl
    $
    
  4. or download this
    $ cd ..
    $ pm_11124087/test_lib.pl
    Can't locate XYZ.pm in @INC (you may need to install the XYZ module) (
    +@INC contains: lib /home/ken/...
    
  5. or download this
    $ cat ~/tmp/pm_11124087/test_lib.pl
    #!/usr/bin/env perl
    ...
    use lib "$FindBin::Bin/lib";
    
    use XYZ;
    
  6. or download this
    $ ./test_lib.pl
    $ cd ..
    $ pm_11124087/test_lib.pl
    $
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found