@@ -2859,7 +2859,7 @@ condition).
2859
2859
2860
2860
A comparison:
2861
2861
2862
- my @list = <A B C>;
2862
+ my @list = <X A B C Y >;
2863
2863
say $_ if /A/ ff /C/ for @list; # OUTPUT: «ABC»
2864
2864
say $_ if /A/ ^ff /C/ for @list; # OUTPUT: «BC»
2865
2865
@@ -2874,7 +2874,7 @@ This operator cannot be overloaded, as it's handled specially by the compiler.
2874
2874
Works like L<ff|/routine/ff>, except it does not return C<True> for items matching the
2875
2875
stop condition (including items that first matched the start condition).
2876
2876
2877
- my @list = <A B C>;
2877
+ my @list = <X A B C Y >;
2878
2878
say $_ if /A/ ff /C/ for @list; # OUTPUT: «ABC»
2879
2879
say $_ if /A/ ff^ /C/ for @list; # OUTPUT: «AB»
2880
2880
@@ -2889,7 +2889,7 @@ This operator cannot be overloaded, as it's handled specially by the compiler.
2889
2889
Works like L<ff|/routine/ff>, except it does not return C<True> for items matching either
2890
2890
the stop or start condition (or both).
2891
2891
2892
- my @list = <A B C>;
2892
+ my @list = <X A B C Y >;
2893
2893
say $_ if /A/ ff /C/ for @list; # OUTPUT: «ABC»
2894
2894
say $_ if /A/ ^ff^ /C/ for @list; # OUTPUT: «B»
2895
2895
@@ -2925,7 +2925,7 @@ This operator cannot be overloaded, as it's handled specially by the compiler.
2925
2925
2926
2926
Like L<fff|/routine/fff>, except it does not return true for matches to the left argument.
2927
2927
2928
- my @list = <A B C>;
2928
+ my @list = <X A B C Y >;
2929
2929
say $_ if /A/ fff /C/ for @list; # OUTPUT: «ABC»
2930
2930
say $_ if /A/ ^fff /C/ for @list; # OUTPUT: «BC»
2931
2931
@@ -2940,7 +2940,7 @@ This operator cannot be overloaded, as it's handled specially by the compiler.
2940
2940
Like L<fff|/routine/fff>, except it does not return true for matches to the right
2941
2941
argument.
2942
2942
2943
- my @list = <A B C>;
2943
+ my @list = <X A B C Y >;
2944
2944
say $_ if /A/ fff /C/ for @list; # OUTPUT: «ABC»
2945
2945
say $_ if /A/ fff^ /C/ for @list; # OUTPUT: «AB»
2946
2946
@@ -2955,7 +2955,7 @@ This operator cannot be overloaded, as it's handled specially by the compiler.
2955
2955
Like L<fff|/routine/fff>, except it does not return true for matches to either the left or
2956
2956
right argument.
2957
2957
2958
- my @list = <A B C>;
2958
+ my @list = <X A B C Y >;
2959
2959
say $_ if /A/ fff /C/ for @list; # OUTPUT: «ABC»
2960
2960
say $_ if /A/ ^fff^ /C/ for @list; # OUTPUT: «B»
2961
2961
0 commit comments