Author: Oryann9Oryann9 Date: Jan 31, 2008 18:34
Please ignore the message below b/c I worked through this.
Basically my format code is not printing in a sorted order based off of 'sz' yet it is correctly sorted in @sorted_large_files as you can see below SORTED.
How can I tell format to print it sorted based off of 'sz'?
Here is how I am sorting
@sorted_large_files =
sort { $meta{$b}->{'sz'} <=> $meta{$a}->{'sz'} } keys %%meta ;
REPORT OF LARGE FILES on:
"hostname xxxxx"
Page 1
FileName Owner GroupOwner Gecos LastModifiedDate Size Mb
========= ...
|