-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rejects valid stash names and unicode names #15
Comments
+1 |
1 similar comment
👍 |
@doy Any word on this issue? FWIW it is several years old... |
Hi Jesse, |
@haarg @karenetheridge now that Also latest still uses https://metacpan.org/source/ETHER/Package-Stash-0.38/Makefile.PL#L99-125, should really move to @Leont's https://metacpan.org/source/ETHER/B-Hooks-EndOfScope-0.24/Makefile.PL#L95-103 |
yes, let's JFDI. If the changes are sane and well-reviewed and tested I'm happy to do a -TRIAL. |
(I can do a Makefile.PL conversion à la BHEOS myself.) |
I have comaint on |
While in the perl syntax only certain things are allowed as package, sub, or variable names, internally perl allows (almost) any string to be used as a stash name or glob slot. As Package::Stash is operating on the stash level, it should allow things with nonstandard names to be manipulated just like "normal" names.
Unicode is also properly supported in stash names in perl 5.16+, and works in normal syntax. Removing the check should allow Unicode names to work properly on newer perls. And it would allow them to work as well as manual stash manipulation on older perls.
I can do the work for this, but I'd rather know if it will be accepted first.
The text was updated successfully, but these errors were encountered: