> >I get data from Data::Dumper in an array format. >I just wonder if there is a means to format the >content in alphabetic order, something like "sort keys >or sort values".
I would give you a simple way,you can sort the array and put the results into another array,then print this array to Dumper.For example: my @original=(...); my @sort=sort {$a cmp $b} @original; print Dumper @sort; Hope this help. -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>