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
Global refalias access from sub #17002
Comments
From Thomas.Schweiger@rohde-schwarz.comI am not sure whether i have missed something maybe this little demo script demonstrates a bug: I tested it against perl 5.30-RC1 and 5.28.1 and both show the same behavior. #!/usr/bin/env perl use feature 'declared_refs'; # Define a hash and assign it to a hashRef # Alias %hash to the previously defined hashRef # Access the (global) $hashRef and the (global) aliased %hash. # Call SomeSub # A sub that accesses the (global) $hashRef and the (global) aliased %hash. # In the latest perl 5.30-RC1, this prints: |
From @jkeenan[This didn't show up well in RT, so I'm showing it here. -- JK] On Thu, 16 May 2019 14:48:03 GMT, Thomas.Schweiger@rohde-schwarz.com wrote:
-- |
From [Unknown Contact. See original ticket][This didn't show up well in RT, so I'm showing it here. -- JK] On Thu, 16 May 2019 14:48:03 GMT, Thomas.Schweiger@rohde-schwarz.com wrote:
-- |
From @davidnicollooks like a bug to me, although I haven't studied how lexical aliases are On Thu, May 16, 2019 at 2:47 PM Thomas Schweiger (via RT) <
-- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#134111 (status was 'open')
Searchable as RT134111$
The text was updated successfully, but these errors were encountered: