Re: Shortest path to a MyConfig

2006-02-19 Thread Adam Kennedy
Did someone test it on Win32? Huh. I thought Win32 had ENV{HOME} set to "C:\My Documents" or some such thing. There's not clear HOME, it's more complicated. See File::Home for an example of how it's done (and File::Home::Win32 for some more edge cases not integrated into the newer Fi

Re: Shortest path to a MyConfig

2006-02-19 Thread Tyler MacDonald
Adam Kennedy <[EMAIL PROTECTED]> wrote: > It's a bit late now, but I just noticed this. > > Win32 doesn't have $ENV{HOME} under normal situations... > > Did someone test it on Win32? Huh. I thought Win32 had ENV{HOME} set to "C:\My Documents" or some such thing. There's a Win32

Re: Shortest path to a MyConfig

2006-02-19 Thread Adam Kennedy
Tyler MacDonald wrote: Andreas J. Koenig <[EMAIL PROTECTED]> wrote: Thanks applied and released as 1.83_62. Very nice the additions to the FAQ. I moved the subroutine to the CPAN::Shell class, so it is also available as a normal command in the shell, much easier to type than 'o conf init'. Ple

Re: Shortest path to a MyConfig

2006-01-31 Thread Tyler MacDonald
Andreas J. Koenig <[EMAIL PROTECTED]> wrote: > Thanks applied and released as 1.83_62. Very nice the additions to the FAQ. > > I moved the subroutine to the CPAN::Shell class, so it is also > available as a normal command in the shell, much easier to type than > 'o conf init'. > > Please try it o

Re: Shortest path to a MyConfig

2006-01-31 Thread Andreas J. Koenig
> On Mon, 30 Jan 2006 19:16:50 -0800, Tyler MacDonald <[EMAIL PROTECTED]> > said: >> > > >> > > perl -MCPAN -e 'mkmyconfig' >> > >> > Perhaps this is something I can add to the cpan(1) script. >> >> That'd be great! I'll be submitting my refined CPAN.pm patch w/docs >> tonight.

Re: Shortest path to a MyConfig

2006-01-30 Thread Tyler MacDonald
Tyler MacDonald <[EMAIL PROTECTED]> wrote: > brian d foy <[EMAIL PROTECTED]> wrote: > > > > If yes, I think I'd call it "mkmyconfig". > > > > > > > > And when you could please add a paragraph of documentation, it's in in > > > > a second. > > > > > > OK, I'll re-do my patch with a snippet of doc

Re: Shortest path to a MyConfig

2006-01-30 Thread Tyler MacDonald
brian d foy <[EMAIL PROTECTED]> wrote: > > > If yes, I think I'd call it "mkmyconfig". > > > > > > And when you could please add a paragraph of documentation, it's in in > > > a second. > > > > OK, I'll re-do my patch with a snippet of docs. I didn't really > > consider that somebody might expli

Re: Shortest path to a MyConfig

2006-01-30 Thread brian d foy
In article <[EMAIL PROTECTED]>, Tyler MacDonald <[EMAIL PROTECTED]> wrote: > Andreas J. Koenig <[EMAIL PROTECTED]> wrote: > > If yes, I think I'd call it "mkmyconfig". > > > > And when you could please add a paragraph of documentation, it's in in > > a second. > > OK, I'll re-do my patch with

Re: Shortest path to a MyConfig

2006-01-29 Thread Tyler MacDonald
Andreas J. Koenig <[EMAIL PROTECTED]> wrote: > =item 5) > > I am not root, how can I install a module in a personal directory? > > First of all, you will want to use your own configuration, not the one > that your root user installed. The following command sequence is a > possible appro

Re: Shortest path to a MyConfig

2006-01-29 Thread Andreas J. Koenig
> On Sun, 29 Jan 2006 14:14:30 -0800, Tyler MacDonald <[EMAIL PROTECTED]> > said: > After a bit of poking around in the source of CPAN.pm, the shortest > bootstrap of a user's home directory that ignores the system-wide CPAN > config I found was: > perl -MFile::Path -MCPAN::Confi