Closed haarg closed 2 years ago
I probably should add an underscore.
You have some other modules using names like this: Kavorka has ${^NEXT}
in its API, and uses ${^ONE}
and ${^MYVAR}
in tests. Moops uses Kavorka's ${^NEXT}
. Acme::Loopy uses ${^LOOP}
.
Quoting from perlvar:
This variable should probably be renamed. As this is part of the
Type::Params
API, just removing the existing variable probably isn't possible, but at least a different form should be supported and documented.There has been some discussion on Perl/RFCs#22 about trying to apply strict to variable of this form, which could prevent their use in the future.