From: Damian Conway [EMAIL PROTECTED] > If it were allowed, it would probably be done > via properties instead: > > 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)) { ... } Damian's statement says to me that there is an argument named $force, and another argument named $override which is also known as $force... that sounds conflicting. The revised statement simply says that there's an argument named $force and it is also known as $override. 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)) -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .