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
Conflicts between the :shared attribute and lvalue subroutines #7405
Comments
From nigelsandever@btconnect.comCreated by nigelsandever@btconnect.comThe following snippet demonstrates a conflict between the :shared attribute and #! perl -slw package test; my %things : shared; sub new { sub thing : lvalue { sub DESTROY { return 1 if caller; package main; my $test = test->new( '12345' ); $test->thing = 98765; undef $test; Perl Info
|
From @lizmatAt 7:22 PM +0000 7/4/04, nigelsandever@btconnect.com (via RT) wrote:
FWIW, it's the sharedness of the hash that's causing the problem, not
Replacing the above line with: my %things; gives the same problem. Liz |
The RT System itself - Status changed from 'new' to 'open' |
From @ysthOn Mon, Jul 05, 2004 at 09:27:52AM +0200, Elizabeth Mattijsen <liz@dijkmat.nl> wrote:
Nothing to do with sharing; just magic: $ perl -MTie::Hash -we'tie %x,"Tie::StdHash"; sub foo:lvalue {$x{foo}} foo=1' |
From @rgsFixed in bleadperl by : Change 25194 on 2005/07/20 by rgs@bloom Subject: [PATCH] lvalue-subs returning elements of tied |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#30582 (status was 'resolved')
Searchable as RT30582$
The text was updated successfully, but these errors were encountered: