develooper Front page | perl.perl6.language | Postings from September 2005

&multisub.arity?

Thread Next
From:
Ingo Blechschmidt
Date:
September 2, 2005 09:02
Subject:
&multisub.arity?
Message ID:
df9snn$jup$1@sea.gmane.org
Hi,

    multi foo ($a)     {...}
    multi foo ($a, $b) {...}

    say &foo.arity;
    # die? warn and return 0? warn and return undef? return 1|2?


--Ingo

-- 
Linux, the choice of a GNU | There are no answers, only
generation on a dual AMD   | cross-references.  
Athlon!                    | 


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About