<?xml version="1.0" encoding="windows-1252"?>
<node id="598719" title="Re: RFC:A brief tutorial on Perl's native sorting facilities." created="2007-02-07 04:52:53" updated="2007-02-06 23:52:53">
<type id="11">
note</type>
<author id="510280">
shmem</author>
<data>
<field name="doctext">
Fine post. Some random nits...
&lt;blockquote&gt;&lt;i&gt;
That it is about as fast as you are likely to get; that it is built-in to language so always available; and that it understands Perl internals; does.
&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;I fail to parse that sentence. I also fail to parse the updated version:
&lt;blockquote&gt;&lt;i&gt;
That it is about as fast as you are likely to get, it is built-in to language so always available, and it understands Perl internals, do.
&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;What does the final ",do" do?
&lt;blockquote&gt;&lt;i&gt;
So, sorting data when you want to sort according the the entire value of each element of the array or list is easy.
&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;I'd rather &lt;i&gt;not&lt;/i&gt; use the statement-modifier mode here, instead I'd say (s/the the/the/):
&lt;p&gt;So, sorting data is easy when you want to sort according the entire value of each element of the array or list.

&lt;div class="pmsig"&gt;&lt;div class="pmsig-510280"&gt;
&lt;p&gt;--shmem
&lt;small&gt;&lt;pre&gt;
_($_=" "x(1&lt;&lt;5)."?\n".q&amp;middot;/)Oo.  G&amp;deg;\        /
                              /\_&amp;macr;/(q    /
----------------------------  \__(m.====&amp;middot;.(_("always off the crowd"))."&amp;middot;
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e &amp;&amp; print}&lt;/pre&gt;&lt;/small&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
598394</field>
<field name="parent_node">
598394</field>
</data>
</node>
