"perl -MCPAN -e shell" acts unexpectedly on MacOS X 10.3.1

A

Art Werschulz

Hi.

I am running MacOS X 10.3.1 (Panther) on a G4 iMac. I am installing
some Perl modules using the CPAN shell, i.e., I issue the command
# perl -MCPAN -e shell
and then type commands to the cpan> prompt.

When I have done this on a Linux box, the .cpan directory is placed in
root's home directory /root, and the manified documentation goes
into /usr/share/man/man3. To me, this seems pretty reasonable.

However, when I do this on the Panther box, the .cpan directory is
placed in my personal home directory (~agw), and the manified
documentation goes into /man/man3. I find this somewhat odd, to say
the least.

Note that this happens when I am logged in as root, i.e., I have done
"su - root" or "login root" in the Terminal window where I'm working.

Any ideas as to why this is happening? More importantly, what can I
do to get the "more reasonable" behavior of putting .cpan in /root and
manpages in /usr/share/man/man3?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top