in reply to specifying which perl module to use

You can use lib, which will push your home directory onto the beginning of @INC. Since @INC is searched in order, Perl will find your locally installed module before searching the default installation directories.
  • Comment on Re: specifying which perl module to use

Replies are listed 'Best First'.
Re^2: specifying which perl module to use
by QM (Parson) on Sep 16, 2005 at 17:07 UTC
    I think you need to be more specific.

    use lib;

    doesn't appear to do anything. Perhaps you meant

    use lib '~';

    Update suggested by tinita: better than '~'

    use lib $ENV{HOME};

    or something equivalent instead?

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of