Operating on pairs, Was Re: Revised solution #2

2009-01-15 Thread Richard Hainsworth
Larry Wall wrote: On Wed, Jan 14, 2009 at 09:55:38AM +0300, Richard Hainsworth wrote: However, I came across one thing in solution #3 that I posted yesterday. $pair.fmt(%s %s) is nice, but it doesnt allow for any action on either value or key before printing (I wanted to print the value

Re: Operating on pairs, Was Re: Revised solution #2

2009-01-15 Thread Larry Wall
On Thu, Jan 15, 2009 at 12:46:09PM +0300, Richard Hainsworth wrote: Larry Wall wrote: On Wed, Jan 14, 2009 at 09:55:38AM +0300, Richard Hainsworth wrote: However, I came across one thing in solution #3 that I posted yesterday. $pair.fmt(%s %s) is nice, but it doesnt allow for any