note
TimToady
Indeed, it is precisely because Perl 6 has junctions that we do not need to assume junctional semantics on smartmatched lists; Perl 5 does not have junctions, so it does assume that. Instead, Perl 6 can use a list to smartmatch another list, which is also a useful behavior--especially since wildcards are supported. For instance,
<c>(1,2,3,4,5) ~~ (*,2,3,*)</c> returns true.
855326
855331