This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
26912
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
mschwern [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Unimportant
Broken in:
1.9101
Fixed in:
(no value)



Subject: CPAN.pm writing to .cpan directory in ~/Library/Application Support
Reconfiguring CPAN 1.9101 upgrading from 1.8801 I noticed this: commit: wrote '/Users/schwern/Library/Application Support/.cpan/CPAN/MyConfig.pm' Its great that its writing to ~/Library/Application Support/ on OS X. However it probably shouldn't be using a dot directory there. There's no need to hide the directory with a dot, it should be visible. The name of the application is the appropriate idiom. Probably something like "CPAN.pm". I'm not sure how you can figure out when this should be done. That is, on Unix if you're writing into ~ you want to hide application directories and use .cpan. On Windows and OS X or other system which have a specific app config directory you probably want to make the directory visible. This logic should probably go into File::HomeDir. Possibly by supplying it with a directory name and it deciding if it should be hidden or not. This is very, very minor. Just something I happened to notice.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.