Skip to content
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

Open
haarg opened this issue Apr 2, 2015 · 9 comments
Open

Rejects valid stash names and unicode names #15

haarg opened this issue Apr 2, 2015 · 9 comments

Comments

@haarg
Copy link

haarg commented Apr 2, 2015

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.

@haarg
Copy link
Author

haarg commented Apr 2, 2015

@karenetheridge
Copy link

+1

1 similar comment
@dolmen
Copy link

dolmen commented Apr 3, 2015

👍

@ribasushi
Copy link

@doy Any word on this issue? FWIW it is several years old...

@karenetheridge
Copy link

Hi Jesse,
would you be interested in sharing comaint on this distribution? I've been shepherding the Moose releases for the last few years with moderate success and I'd be happy to coordinate patch proposals.

@ribasushi
Copy link

@haarg @karenetheridge now that P::S moved to Moose can these ship? I still have FIXME's around the area installing P::S...

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

@karenetheridge
Copy link

yes, let's JFDI. If the changes are sane and well-reviewed and tested I'm happy to do a -TRIAL.

@karenetheridge
Copy link

(I can do a Makefile.PL conversion à la BHEOS myself.)

@karenetheridge
Copy link

I have comaint on Package::Stash(::(XS|PP)?. Am happy to ship patches. The ExtUtils::HasCompiler switchover will be released shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants