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
attributes don't like .= #2286
Comments
From @pdcawleyCreated by @pdcawleySo, I was playing around, trying to make a japh when I did something like: perl -e 'my $var : locked .= "test"' And perl fell over in a heap with: Invalid separator character '.' in attribute list at -e line 1, near "$var : locked " Is this a known bug? A known feature? Perl Info
|
From module@renee-baecker.deI don't know if this should be valid syntax. It's a declaration of a |
From p5p@spam.wizbit.beFrom the bug report: perl -e 'my $var : locked .= "test"' On Sat Jun 07 11:27:16 2008, reneeb wrote:
But: perl -e 'my $var .= "test";' Does not produce a syntax error. Should this inconsistency remain? Or should it go away? |
From @cpansproutOn Tue Jun 10 03:32:54 2008, animator wrote:
It’s also a problem with just plain ‘.’. In fact, the introduction of $ ./perl -Ilib -e '$ref = \($1 ? my $var : my $othervar)' I’m not even sure how the attribute syntax should behave. -- Father Chrysostomos |
From @rjbs* Father Chrysostomos via RT <perlbug-followup@perl.org> [2012-09-25T15:51:31]
"Surely" it should be fixed, but:
That's a heck of a nice bug you got there, chief. I want to say "it at least Nasty. -- |
Migrated from rt.perl.org#3605 (status was 'open')
Searchable as RT3605$
The text was updated successfully, but these errors were encountered: