I'm familiar with "::" but it wouldn't pass code review (cleverness reducing readability)
No, it's not being clever.
Do you write package main::Foo::Bar; or package Foo::Bar;? So why do you expect me to use %main:: instead of %::? If I want the root namespace, that's what I use. Not some alias created so you can say "scripts run in main".
Also, using Foo::->method instead of Foo->method solves a real problem. Again, not cleverness.
While "_a" probably wouldn't pass code review (non-meaningful name) it does match the pattern
oops! I saw the pattern for the lead character was shorter, and I somehow imagined that "_" wasn't included.
As already stated, non-ASCII names are disallowed ($work constraint).
That was not mentioned in the question. And you're not the only person using PerlMonks.
In reply to Re^3: Is there an official regex for checking module names?
by ikegami
in thread Is there an official regex for checking module names?
by kcott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |