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
Scalar.WHICH doesn't discriminate enough #5375
Comments
From zefram@fysh.org
Behaviourally the two scalar objects are clearly distinct, as they -zefram |
From @lizmat
ENOTABUG .VAR reveals the properties of the underlying container of the object it is used on. For an array, this *IS* the same for each element. The same applies to hashes: $ 6 'my %h = a => 42, b => 666; say %h<a>.VAR === %h<b>.VAR’ Liz |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgElizabeth Mattijsen via RT wrote:
No, .VAR really is yielding two different objects that behave differently.
-zefram |
From zefram@fysh.orgAdditional information: one also gets identical .WHICH values for Here's another formulation of the demo, which illustrates the above and
-zefram |
Migrated from rt.perl.org#128399 (status was 'open')
Searchable as RT128399$
The text was updated successfully, but these errors were encountered: