[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Re: Fun With Regexp



>>>>> "Richard" == Richard Ibbotson <richard [at] sheflug.co.uk> writes:

    Richard> Baz
    >> Got hold of this but can't find any docs that tell me how to
    >> install it into ~/home without root privileges so that it does
    >> what it should.

    Richard> Okay, found some docs at...

    Richard>  http://razor.sourceforge.net/docs/install.html

    Richard> that tell me how to compile a Perl module/app.  Done that
    Richard> with 'perl Makefile.PL PREFIX=~' and it compiles etc.
    Richard> Now I have to look at Simon's pages once again to try to
    Richard> understand how to use it.

I tend to have ~/lib/perl/ and install modules under that if I
don't have root access. (Use PREFIX=~/lib/perl at install).

You'll need something like 

use lib '/home/yourself/lib/perl/';

at the top of your script, so that Perl goes and searches that
directory for modules.

perldoc perlmodinstall will give you more information on installing
modules from CPAN.

Cheers.

Baz. 
-- 
Barrie J. Bremner
baz-sheflug [at] barriebremner.com      http://barriebremner.com/


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.