Yes, there is such a config file, and if you move things
around it will point to the wrong place and not be able
to find modules. Also, you will have trouble installing
new modules. The file is called Config.pm,
and is located in a directory somewhere like
/opt/perl5/lib/5.6.0/PA-RISC2.0. It is
created in the 'Configure' step when perl is compiled.
Update:
As noted below you can't fix this with hand-editing.
You can find out what your INC path is with perl -V.
Much better is to put perl where Config.pm expects it to be,
or recompile perl. You need the ANSI C compiler to
compile perl on HP-UX, though.
You can see what is in Config.pm by inspecting the code
in the module, or with this code:
#!/opt/perl5/bin/perl
use strict;
use Config;
for (keys %Config)
{
print "$_ = $Config{$_}\n";
}
You can use the INC path methods above to get
the use Config line to work.
It should work perfectly the first time! - toma
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.