| Randal | modules for which you don't have the source |
| peshalto | Randal: what's the significance of snapshot? |
| Randal | I download the latest perl every few weeks and make sure it still works "snapshot" |
| peshalto | Configure wants to put it in /usr/local/bin by default ah |
| Randal | tell Configure "no, sir" |
| peshalto | well the built-in perl is in /usr/bin ya think I should still put it in /opt ? probably just /opt/perl in my case |
| Randal | ./Configure -Dprefix=/opt/perl/snap -des |
| Teratogen | [slashsnot.org::root::bash] /usr/pkg/share/httpd/htdocs (Tue Mar 27 18:24:07) => which perl |
| Randal | yea, leave snap off |
| Teratogen | err /usr/pkg/bin/perl ! |
| Randal | you'll have to add /opt/perl/bin to your PATH |
| peshalto | right when i'm in a cpan shell (say, sudo cpan) which path is it seeing then? |
| Caelum | what's the difference between -des and -de? |
| Randal | I don't know |
| peshalto | which $PATH |
| Randal | ancient choices. :) the PATH of your shell |
| peshalto | so would that be root's shell (because of the sudo) or the shell of the user who invoked sudo cpan? |
| Randal | anybody who will be typing "perl" and expect the upgraded perl Oh, and I don't say "sudo cpan" I own /opt/perl so I install as non-root that's smart anyway |
| peshalto | ah, so you do all the PERL5LIB and INSTALLMAN1DIR INSTALLMAN3DIR stuff? |
| action | peshalto finds the umpteen ways to set these things confusing still |
| peshalto | finds the umpteen ways to set these things confusing still |
| Randal | you don't need to set PERL5LIB just -Dprefix=/opt/perl when you build your cpan shell will install below /opt/perl and your perl already knows to look there it Just Works |
| peshalto | so if my /opt/perl/bin/cpan is found in the path, it (cpan) will know to install its stuff (subsequently installed modules) in /opt/perl/lib ? |
| action | CPAN upload: Encode-First-0.01 by MIYAGAWA |
| CPAN | upload: Encode-First-0.01 by MIYAGAWA |
| peshalto | found in the path before /usr/bin/cpan, that is |
| Cherebrum | How can I rename the keys in a hash? I can't seem to figure it out |