Thanks for your reply.
The error message is from CPAN.pm, one of the files on my own
system. I believe that this perl program is looking for the directory "authors" in my $HOME/.cpan. In fact, the correct pathname is $HOME/.cpan/sources/authors, so it should be trying to cwd to "sources/authors". But I could be wrong about what the code means. I guess I could check it out by making a symbolic link to get round this error. But I would prefer to configure cpan correctly so it doesn't happen.
David
| [reply] |
$ftp->cwd(...) tries to change directories on the remote system, not on the local system. To change directories on the local system, you would just use chdir.
| [reply] [d/l] |
Thanks a lot. I misunderstood what the code meant. So I think this is getting close to solving my problem.
I wonder if I got the correct address when I set up the config file with
cpan> o conf init
My urllist contains the address ftp://ftp.perl.org/.
Maybe it should be ftp://ftp.perl.org/pub/CPAN/??
David
| [reply] |