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

This should be simple but I'm stumped... I'd like to experiment with the recently discussed HTML::FormValidator module. It is available via the CPAN as part of two multi-module bundles. I just want to install the one module as I don't need the rest and, in any case, don't have a suitable setup (no mod_perl, for example).

Looking at the code for FormValidator.pm it doesn't seem to require any other modules. My question is how do I install it manually? Placing it in my personal module directory (I'm on a shared server) under the HTML directory, I've tried using:

use lib 'path/to/my/perl/modules'; use HTML::FormValidator;

without success. I looked through the man pages but it's unclear on how a manual installation should work.

Any thoughts?

Replies are listed 'Best First'.
Re: Installing a Module without its own makfile
by jeroenes (Priest) on Mar 22, 2001 at 21:40 UTC
    Have you placed the file FormValidator.pm in the directory path/to/my/perl/modules/HTML? The :: stands for a directory separator.

    Hope this helps,

    Jeroen

      Jeoren,

      See, I told you it should be simple. :-)

      I assumed that the path fed to "use lib" could point to the parent directory under which the rest of my modules are installed. Once I changed it to the parent of the HTML directory (another level down), it worked as you described.

      Thanks!