Subject: | ValuesAndExpressions::ProhibitMagicNumbers should be able to give a Readonly equivalent |
Currently ValuesAndExpressions::ProhibitMagicNumbers will allow numbers
to be defined using "use constant" or the Readonly module. It would be
nice to be able to provide an option for it to say what I think should
be what makes a variable constant (like "const" when I use Const::Fast).
Currently I can do this by adding "const" to %READONLY_SUBROUTINES, but
I cannot do this a run time since it is readonly. But an actual
configuration option would be better.