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
flip flop operator (infix:<ff>) gobbles up $_ #2720
Comments
From @moritz21:04 < moritz> nom: $_ = 'a'; /a/ ff /a/; the $_ that /a/ matches against ends up being Any, not 'a'. Compare with: 21:04 < moritz> nom: $_ = 'a'; /a/ || /a/; works fine there 21:05 < sorear> nom: $_ = 'a'; m/a/ ff m/a/ |
From @bbkr$ perl6 -e '$_ = "foo"; if /./ ff /./ { .say } ' Conditions like "if /./ {} " works fine, somehow second /./ in flip-flop is not matched against $_. This is perl6 version 2012.03-51-gcb61d59 built on parrot 4.2.0 revision RELEASE_4_2_0-98-gda3ed58 |
From @jnthnOn Thu Apr 19 04:30:56 2012, pawel.pabian@implix.com wrote:
Seems to work now, after recent ff improvements:
Tagging testneeded. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzS03-operators/flip-flop.t has plenty of coverage already. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#112540 (status was 'resolved')
Searchable as RT112540$
The text was updated successfully, but these errors were encountered: