Monks, I was just trying to install CPANPLUS on my hosted shell account, and it errored out because on my particular Linux build, use constant a => sub {}; has problems.It's hard to believe it is something that gives an error because of "your particular Linux build". It's more likely that you simply have an outdated Perl distro -- I don't have the slightest idea at which time constant.pm made its way through the core modules...
However it's valid Perl and it's a commonly used module, so you may not like it, but you may want to upgrade in any case. Or else, if you're up to date, there may be something broken in your perl system.
In reply to Re: How important is 'use constant a => sub {};'
by blazar
in thread How important is 'use constant a => sub {};'
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |