On Mon, 24 Jan 2022 20:09:24 +0000 (UTC) Ovid <curtis_ovid_poe@yahoo.com> wrote: > What do we do with this? > > sub max :multi(@args) {...} > sub max :multi(%args) {...} > > Because arrays and hashes flatten into a list, unless @args has an > odd number of elements, we can't disambiguate them, can we? $ perl -Mexperimental=signatures -MSyntax::Keyword::MultiSub multi sub max (@args) {...} multi sub max (%args) {...} Already have a slurpy function body for multi sub max at - line 2. Compiletime error. -- Paul "LeoNerd" Evans leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/Thread Previous | Thread Next