Andy_Bach-at-wiwb.uscourts.gov |Perl 6| wrote:
> Just an even simpler question:
> sub bendit (£ IBend ::T $p -->T)
> {
> T $q = get_something;
>
> Does the "T ..." usage then scope the var so no 'my/our' is needed?
>
> a
> -------------------
> Andy Bach
> Systems Mangler
> Internet: andy_bach@wiwb.uscourts.gov
> Voice: (608) 261-5738 Fax: 264-5932
>
> "When angry, count to four; when very angry, swear."
> Mark Twain
>
>
>
Yes. ::T declares T, as a parameter, just like $p.
--John
Thread Previous
|
Thread Next