http://www.perlmonks.org?node_id=1064301


in reply to Re: Testing for valid package names
in thread Testing for valid package names

Thanks!

I thought about numbers as the first char, but that is legal for filenames so far as I know. I am still mulling that over.

I wasn't aware of that Perl::Critic rule (not surprising) but the POD doesn't mention anything about the legal character set, only that a single-quote "'" should not be used even though it is a valid substitute for the double-colon '::' separator.

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.