Re: Shortest path to a MyConfig

[email protected] (Tyler MacDonald)
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
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 PASS on testers.cpan, but of course I never wrote a
unit test for the auto-MyConfig stuff. ;-) I'll take a look at this soon.

	I'm kind of curious though, looking through the CPAN.pm code before,
I don't remember it coming up with it's own CPAN home directory in a
different way under Win32. If I just missed it and there is indeed some
logic for that, it should be trivial enough to just piggyback off of that.
If there *isn't*, that means Win32 is passing all tests despite that, which
is even more interesting. :)

		- Tyler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.