Re: Shortest path to a MyConfig

[email protected] (Adam Kennedy)
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
>> 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 File::Home yet).

> 	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.

Well there ya go :)

I was wondering how it could have gotten included and passed all unit tests.

Now I know :)

Adam K
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.