Steffen Schwigon <[EMAIL PROTECTED]> writes:
>   multi sub talk () { say 'Loose Talk Is Noose Talk.'; }
>   multi sub talk (String $msg) { say $msg; }
>   multi sub talk (String $msg, Int $times) { say $msg x $times; }

BTW, because we are just on-topic, can someone explain, when these
types above are used. They seem pretty useless in my example but it
looked that nice. :-)

How do I extend the example to really check the parameter types. Some
kind of "use strict" anywhere?

Steffen Schwigon <[EMAIL PROTECTED]>
Dresden Perl Mongers <>

Reply via email to