-
Notifications
You must be signed in to change notification settings - Fork 587
UCD.pm: Add check for parameter type #23301
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
base: blead
Are you sure you want to change the base?
Conversation
This could use a test.
I don't see the perldelta entry. |
In response to Tony's review in GH Perl#23301
Provided one at khwilliamson#1 |
In response to Tony's review in GH Perl#23301
The test made obvious to me:
In both cases the parameter is a reference to Another case would be:
But I think that's more a case of "Doctor, it hurts when I do (something dumb)" Alas builtin::reftype() also returns REF for the second case. I'm not fond of this ref() behaviour (ref() -> REF describes the contents of the reference container, not the referenced container itself) |
This needs to be a scalar reference; I got burned with it not doing the right thing when it wasn't such a reference.
In response to Tony's review in GH Perl#23301
@tonycoz, what is your current opinion on this pull request? Can it be merged? (Your May 19 comments suggest that in the course of reviewing this ticket, you came across larger problems with perl that are beyond the scope of this ticket. Is that impression correct?) |
This needs to be a scalar reference; I got burned with it not doing the right thing when it wasn't.