On Sat, Mar 12, 2005 at 03:13:37PM -0600, Rod Adams wrote: : Obviously this can't happen for everything, but for the builtin methods : and classes, I don't see a penalty for supporting both forms. Consider: : : $str.split($rule); : $rule.split($str); : : I can see using both of those. But I can't see : : $int.split($rule, $str); : : as an alias for : : $str.split($rule, $int_limit); : : because I doubt that the limit will ever be the most important thing : about a split operation.
Just for the record, let me say that I expect the limit parameter to split to be +$limit and not ?$limit. I think a number of seldom-used options will go this route. Another consideration is whether the parameter needs to be considered for MMD. Larry