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 reply to Re: strange constants.pm warning
by Perlbotics
in thread strange constants.pm warning
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |