I'm having some trouble getting this working. The basic idea is I want to build private perl modules, then put them into a local directory (mini cpan) and install them from there. An extra detail is that I'll mount this directory using FUSE (sshfs). So I'll have a ssh encrypted, mounted, mini CPAN to install to other servers. My thought was I'd mount the remote CPAN directory locally, and refer to it via a "file:///dir" type URL. Thus the cpan doing the installing would think it was installing from a local CPAN mirror, when in reality it was pulling packages over sshfs.
Thus in my mini cpan, I only want to have my private modules. I've setup the CPAN::Mini stuff and used mcpani to --add a single module. I can see the module in the directory along with the modulelist, and authors directory, so this all looks OK. Running cpan, I have added (via push) a URL to the urllist that looks like this => file:///mymodules. When I try to install, cpan says "Warning: Cannot install YourPackage, don't know what it is."
Note I did not do an update on my mini cpan (which pulls down the latest packages). I do not want to have a bunch of CPAN modules on the mini cpan, merely the private modules.
What am I doing wrong?