Hi, I have looked at internet but could not any info. Therefore I have to ask this stupid question:
I have installed Unicode::Map for Perl 5.8.5 as follows:
perl Makefile.PL PREFIX=/home
make
make install
I see then Unicode modules have been installed into:
/home/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Unico
+de
/home/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Unicode
Now in this case when I run,
#!/usr/bin/perl -w
use lib ("/home/lib/perl5/site_perl/5.8.5");
use Unicode::Map;
print "RUNS\n";
I get
Can't locate Unicode/Map.pm in @INC (@INC contains: /home/lib/perl5/site_perl/5.8.5 /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi...
Since all module I install go to /home/lib/perl5/site_perl/5.8.5, I thought it must be enough to use this directory and Perl is fairly intelligent to get Unicode directory. Now my questions:
- Why did installation put the Unicode stuff into 64-bit directories? My machine is 64-bit, is it default installation behaviour?
- Shall I explicitly add "use lib" argument for /home/perl5/site_perl/5.8.4/x86_64-linux-thread-multi?
- Is there any way in Perl to let all these lib-search stuff to the interpreter, so that I shan't worry about all these?
I know, these might be stupid questions but I can't find such simple information on internet.
Thanks in advance and sorry for simple questions.
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.