locked_user sundialsvc4 has asked for the wisdom of the Perl Monks concerning the following question:

I'm using a hosting-service that has the cpanel control-panel software installed. (http://www.cpanel.net) It's rather nice and Perl-friendly, because it is written in Perl, and one of the nice things that it offers is the ability to install CPAN modules for a particular site through an easy web-oriented interface. Okay, I'm spoiled.

However, I now find that I must install an earlier version of a certain module in order to correct a problem. Question is... how might I easily do that, if not “through cpanel” then at least in such a way that I won't confuse it.

I naturally tried entering a string like V/VT/VTI/MojoX-Session-0.07.tar.gz, which is the magic when using cpan from the command-line, but their software quite-sensibly realizes that this string is not a well-formed CPAN package-name, as indeed it is not.

Suggestions?

Replies are listed 'Best First'.
Re: Installing less-than-current version of CPAN module using 'cpanel?'
by sflitman (Hermit) on Apr 08, 2009 at 04:52 UTC
    I think you need to bypass cpanel. I don't believe you'll confuse it since it likely uses cpan module itself and so 'going to the metal' as it were shouldn't alter its database. I have had similar issues, thanks for reminding me of the incantation for installing an older version.

    HTH
    SSF

Re: Installing less-than-current version of CPAN module using 'cpanel?'
by locked_user sundialsvc4 (Abbot) on Apr 08, 2009 at 11:49 UTC

    Well, it seems that “it uses CPAN,” but in a slightly different way. There is no .cpan directory in the home directory of the site user, and there is no subdirectory anywhere (at home) named e.g. build. The site user's modules are, however, installed in ~/perl, and I know that CPAN was used to get them there.

    So, I basically need the incantation to “get me to the CPAN shell,” but I don't want to have to “figure it out” if somebody else has already done so.

         8=/  Sarcasm ignored.

        Anyone who wants to be helpful, please “feel free.” Thank you. And I shall endeavor to return the favor.

        “Next!”

Re: Installing less-than-current version of CPAN module using 'cpanel?'
by dolmen (Beadle) on May 22, 2009 at 14:07 UTC
    I naturally tried entering a string like V/VT/VTI/MojoX-Session-0.07.tar.gz, which is the magic when using cpan from the command-line, but their software quite-sensibly realizes that this string is not a well-formed CPAN package-name, as indeed it is not.
    The right way in CPAN is to ask for "VTI/MojoX-Session-0.07.tar.gz". CPAN will find it in the index. So try this with cpanel.