On Tue, Nov 10, 2009 at 10:14 PM,  <[email protected]> wrote:
> The (newer) TOIlet page I was looking for http://caca.zoy.org/wiki/toilet
>
> Re: local::lib
>
>  It also constructs and prints out for the user the list of environment
>  variables using the syntax appropriate for the user's current shell (as
>  specified by the SHELL environment variable), suitable for directly adding
>  to one's shell configuration file.
>
> This answer's someone's question about how it figures out the appropriate
> means of interacting with the shell, as well as my question, which wasn't
> phrased well at the time. I wasn't asking how this greatest-thing-sliced-bread
> could modify PERL5LIB, but how it could do so persistently. The answer is
> it doesn't you have to set PERL5LIB manually, as you would without the module.
> But now it's cut and paste instead of think and type :-P

or, for those of us using bash:

 eval $(perl -Mlocal::lib)

I have that line in my .bashrc

It also does some other things like setting up a .modulebuildrc file
and making the necessary directory structure so things install OK. One
still needs to run the cpan command and do an 'o conf init' and
manually make sure all the cpan dirs are someplace writable!

Me, I just keep around my own MyConfig.pm with everything already set.

-- 
-- Steve Scaffidi <[email protected]>

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to