Nathan Wiger writes: > Honestly, not sure. Although, there are two things I'd say about it: > > 1. I don't think it's a showstopper for this RFC, since the > feature you are addressing is actually a new piece of > functionality. Hmm. This is exactly the same situation as with chomp() and somehow chomp() can tell the difference between: $_ = "hi\n"; chomp; and @strings = (); chomp @strings; But chomp seems to use @ as its indicator. You can't say: $_ = $a = "hi\n"; chomp $_, $a; If it sees that $, it figures its chomp SCALAR. I'm unsure if this is adequate for match, but it might be. > 2. I don't think it's even closely tied to this RFC itself. This is the mindset that worries me: every edge case needs another RFC. Look to what's already in Perl: does anything else behave like this? How does it get around it? Can we co-opt the way it works? Nat
- RFC 164 (v1) Replace =~, !~, m//, and s/// with match(... Perl6 RFC Librarian
- Re: RFC 164 (v1) Replace =~, !~, m//, and s/// wi... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and s/// wi... Nathan Torkington
- Re: RFC 164 (v1) Replace =~, !~, m//, and s//... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and... Nathan Torkington
- Re: RFC 164 (v1) Replace =~, !~, m//,... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and s/// wi... Jonathan Scott Duff
- Re: RFC 164 (v1) Replace =~, !~, m//, and s//... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~, m//, and... Jonathan Scott Duff
- Re: RFC 164 (v1) Replace =~, !~, m//, and... Tom Christiansen
- Re: RFC 164 (v1) Replace =~, !~, m//,... Nathan Wiger
- Re: RFC 164 (v1) Replace =~, !~,... Tom Christiansen
- Re: RFC 164 (v1) Replace =~,... Richard Proctor
- Re: RFC 164 (v1) Replace... Michael Maraist
- Re: RFC 164 (v1) Replace... Tom Christiansen