Front page | perl.perl5.porters |
Postings from April 2010
Re: Try::Tiny in Core?
Thread Previous
|
Thread Next
From:
David Golden
Date:
April 5, 2010 12:05
Subject:
Re: Try::Tiny in Core?
Message ID:
y2i5d4beb41004051205w4e2beef6je624580e633c1ee9@mail.gmail.com
On Mon, Apr 5, 2010 at 12:28 PM, Jesse Vincent <jesse@fsck.com> wrote:
>
>> By making the core as absolutely small as possible, containing nothing
>> other than required to bootstrap itself and CPAN.pm, we can encourage
>> more people to become more familiar with installing modules by using the
>> cpan shell or similar mechanisms, and hopefully they'll get a bit more
>> confident installing other bits and pieces.
>
> _IF_ we go down that path, it is imperative that perl be able to install
> into a user's homedir or a user-defined location rather than the "system"
> install locations with little, if any user configuration.
I already have an experimental branch of CPAN.pm that auto-detects
when the user does not have write permissions to the current perl and
sets up the equivalent of what local::lib does automatically
(including offering to modify .bashrc, .cshrc or the Windows Registry
as necessary). Much of it has been cribbed from local::lib and just
integrated into CPAN's auto-config.
mst and I have discussed options for better integration -- possibly
just including local:;lib into core and using it directly rather than
copying/pasting code from it.
-- David
Thread Previous
|
Thread Next