"John W. Krahn" <[EMAIL PROTECTED]> writes:
>> But it doesn't really give the results I was after either. I wanted
>> the sort on short *.pod name. Other wise I have things like:
>> /usr/lib/perl5/5.6.1/Win32.pod
>> coming first.
>>
>> So my formulation may be better in that regard.
>
> Populate the hash like this:
>
> $name{ $File::Find::name } = $_;
>
> And then get the sorted list like this:
>
> @sorted = sort { $name{ $a } cmp $name{ $b } } keys %name;
I've seen that in books and stuff but was never able to fathom out
how it does what it does. So never actually used it in code.
I still don't see how it does what it does but at least an up close
and personal example of what it does.... Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]