&gt;&gt; but in Ruby this would equally easy been done with &quot;if [2,4,5,&quot;hello&quot;,42,3.14].include?(x)&quot;.
&gt; But that isn&#x27;t the same is it. That&#x27;s only a related feature because Ruby doesn&#x27;t have first class Junctions.<p>At least in this case, the only difference I see is that this is a language feature in Perl6 and a method from the standard lib in Ruby.<p>And it has to be a language feature in Perl 6 as there you don&#x27;t have open classes as in Ruby or an equivalent feature for overriding operators or adding functionality to standard lib types.