in reply to strange constants.pm warning
How do you init $name? Like use constant name => 42?
Then
might work? Conststant creates a sub witht the given name that returns the value.if ( name =~ /^_?[^\W_0-9]\w*\z/ and !$forbidden{ name() }) {
In Section
Seekers of Perl Wisdom