On Fri, Apr 9, 2010 at 7:55 PM, Tom Christiansen <tchrist@perl.com> wrote: > > No, don't make it an optional *last* argument; that's messy > and hides what's really going on. The pattern is the most > important, so it goes first. Use the pattern as an optional > invocant, putting it right out in front where it belongs, > just as split // has it in front for the same reason: > that's how it was in the first revision. Other languages with trim functions with optional what-to-trim arguments have them after the target. -- question doubtThread Previous | Thread Next