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

Reading ${^UNICODE} results in output referring to variable named $ #18

Open
doherty opened this issue Aug 30, 2015 · 2 comments
Open
Labels

Comments

@doherty
Copy link

doherty commented Aug 30, 2015

The var ${^UNICODE} (and probably others?) is outputted in test failures as # $ is used once in &blah. Instead, a readable variable name should be given. Is it possible to give the file and line number of the first sighting of the offending var as well?

@autarch
Copy link
Member

autarch commented May 21, 2016

This might be fixed in 0.009. I note that the correct behavior is to ignore this variable entirely, as with all other Perl interpreter globals. This module should only care about lexical variables.

@jkeenan jkeenan added the Bug label Sep 12, 2024
jkeenan added a commit to jkeenan/p5-Test-Vars that referenced this issue Sep 12, 2024
The discussion in
houseabsolute#18 suggested that
this problem was corrected in version 0.009.  However, I could not find
any pertinent code added between tags 0.008 and 0.009.  This patch is
offered to demonstrate that "caret variables" are handled properly by
Test-Vars, i.e., ignored.

For: GH houseabsolute#18
@jkeenan
Copy link
Collaborator

jkeenan commented Sep 12, 2024

@doherty @autarch, please review pull request #57. Thanks.

jkeenan added a commit to jkeenan/p5-Test-Vars that referenced this issue Sep 14, 2024
The discussion in
houseabsolute#18 suggested that
this problem was corrected in version 0.009.  However, I could not find
any pertinent code added between tags 0.008 and 0.009.  This patch is
offered to demonstrate that "caret variables" are handled properly by
Test-Vars, i.e., ignored.

For: GH houseabsolute#18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants