[EMAIL PROTECTED] wrote: >> sub hidden (str $name, int $force, int $override is aka($force)) >> { ... } > > > Would the following be simpler...? > > sub hidden (str $name, int $force is aka($override)) > { ... }
Yeah, that's what I meant. Sorry. I've travelled 14,000 miles and given 93 hours of presentations in the last 18 days. [Note to self: no more posting whilst semi-conscious!!!] %-) > BTW, the aka thing is cool. It could be complementary to "is named": > > # can't use force_tainted as argument: > sub hidden (int $force_tainted is named($force)) > > # can use force_tainted as argument: > sub hidden (int $force_tainted is aka($force)) Yes, that was the idea. :-) Damian