Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

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

Owner: Nobody in particular
Requestors: mschwern [...]

Bug Information
Severity: Unimportant
Broken in: 1.9101
Fixed in: (no value)

Subject: writing to .cpan directory in ~/Library/Application Support
Download (untitled) / with headers
text/plain 946b
Reconfiguring CPAN 1.9101 upgrading from 1.8801 I noticed this: commit: wrote '/Users/schwern/Library/Application Support/.cpan/CPAN/' 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 "". 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 is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to