<?xml version="1.0" encoding="windows-1252"?>
<node id="292363" title="${Schwartzian transform} ?" created="2003-09-18 07:53:12" updated="2005-08-09 07:00:30">
<type id="120">
perlmeditation</type>
<author id="272239">
liz</author>
<data>
<field name="doctext">
Sometimes I wonder why the [id://9108] isn't written as:
&lt;code&gt;
my @output =
  map { ${$_-&gt;[0]} }
  sort { $a-&gt;[1] cmp $b-&gt;[1] }
  map { [\$_, expensive_func($_)] }
  @input;
&lt;/code&gt;
to avoid copying the original values around?
&lt;P&gt;
Liz</field>
</data>
</node>
