Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Installing a non-standard module to the right place

by vek (Prior)
on Mar 21, 2003 at 21:58 UTC ( #245017=note: print w/replies, xml ) Need Help??

in reply to Installing a non-standard module to the right place

Lulu - You can specify which directory you want your modules installed like this:
perl Makefile.PL PREFIX=/path-to/your-dir LIB=/path-to/your-dir
-- vek --

Replies are listed 'Best First'.
Re: Re: Installing a non-standard module to the right place
by Vorlin (Beadle) on Mar 21, 2003 at 23:25 UTC
    Since you're on a *nix system, you can also bypass another installation by doing the following:

    cd /path/to/perl/modules for i in `ls -1` do ln -s `pwd`/$i /path/you/want/sym-link/created/$i done
    This will create sym-links for all the files in the module directory (or whever you want them created)
    that you originally wanted them made.

    The only reason I do the 'ln -s' route is because you then don't have to recompile/delete/etc.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://245017]
[LanX]: Yeah option a doesn't go into history
[LanX]: probably I need to teach the app to restart after C-c Kill
[Corion]: LanX: Maybe have an infinite-loop cmd file? Much easier than trying to manage that from within Perl IMO
[Corion]: Alternatively, relaunch the application from cron (or a Windows cron) every minute
[LanX]: will try infinite loop ...
[Corion]: :START ... goto START
[LanX]: oh .bat you mean?
[LanX]: obscure cult ...
[Corion]: LanX: cmd.exe is just another way to launch Perl

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2017-03-27 15:54 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.