2007/5/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
On Fri, May 04, 2007 at 04:05:46AM -0700, John W. Krahn wrote:> my @toc_keys = sort { $toc{ $a }{ lines } <=> $toc{ $b }{ lines } } keys %toc; I don't think this will do what I want. I want the full hash structure preserved, not an array of the keys sorted by 'lines'...
Since you've got the sorted keys,can't you access the full hash? -- Chinese Practical Mod_perl book online http://home.arcor.de/jeffpang/mod_perl/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
