You might be a little confused, I&#x27;m pretty sure that wantarray and the concept of functions caring about context is entirely gone in Perl 6. Now you are expected to return objects which &#x27;do the right thing&#x27;.<p>However, if you really want to do some of the other things you&#x27;ve listed they are possible to do. Perl 6&#x27;s syntax can be augmented by the programs being executed.<p>I&#x27;m honestly interested though, was I ultimately wrong above? Is there a smart way to define a function in python that can take both a single item and a list of items? In Perl 6 I&#x27;d just define a multi sub where the list form applies the single item sub for each item in the list.