<?xml version="1.0" encoding="windows-1252"?>
<node id="1019056" title="Re: Something like File::Find with sorting" created="2013-02-16 13:47:15" updated="2013-02-16 13:47:15">
<type id="11">
note</type>
<author id="607703">
clueless newbie</author>
<data>
<field name="doctext">
&lt;p&gt;Why not use File::Find::find's &lt;a href=http://search.cpan.org/~dom/perl-5.12.5/lib/File/Find.pm#%options&gt;preprocess option&lt;/a&gt;? Something along the lines of &lt;/p&gt;

&lt;code&gt;
File::Find::find({preprocess=&gt;sub { 
                      return sort {uc $a cmp uc $b} @_ 
                       }, 
                  wanted=&gt;sub {
                      return if (-d);
                      say $_;
                       }
                 },@ARGV);

&lt;/code&gt; </field>
<field name="root_node">
1019048</field>
<field name="parent_node">
1019048</field>
</data>
</node>
