Hacker News new | past | comments | ask | show | jobs | submit login

I would love to see a upgrade to cpan able to handle names converted to lowercase internally. To remind that you must write "use MymoDuleSQL" instead "use myModuLeSqL" can become pretty frustrating for my tired eyes.



This would be a pretty difficult change. Aside from backwards incompatibility, module names are both filesystem lookups and package stash lookups, and in most cases both of those are case sensitive, and it's entirely possible for valid programs to use two modules that only differ in case - at best I could see a warning that searches for a "did you mean?" but that sounds slow.


> Aside from backwards incompatibility

Isn't Perl 6 already backwards incompatible?

> module names are both filesystem lookups and package stash lookups

>> names converted to lowercase internally

Converting names to lowercase internally fixes this.

> it's entirely possible for valid programs to use two modules that only differ in case

Many people (myself included) would see this as a mis-feature not worth saving.


This thread was regarding Perl 5.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: