Sort::Hash1 Version1 of SortHash
1.042
Sort::Hash1 is included in the distribution for backwards compatibility. If you used Sort::Hash and don't want to fix the code right now, use Sort::Hash1. If you are writing or maintaining your code use Sort::Hash instead.
The interface to sort_hash changed from version 1 to version 2. Instead of taking a hash of values it now takes a list in which the first item must be a reference to the hash to sort. Sort::Hash1 will be removed from the distribution in the future, updating your code is easy:
sort_hash( desc => 1 , alpha => 1, %somehash ); becomes sort_hash( \%somehash, 'desc', 'alpha' );
John Karr, <brainbuz at brainbuz.org>
<brainbuz at brainbuz.org>
Please report any bugs or feature requests via the BitBucket issue tracker at https://bitbucket.org/brainbuz/sort-hash/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at: The documentation for the sort command in the Perl documentation.
Copyright 2014 John Karr.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 or at your option any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
To install Sort::Hash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sort::Hash
CPAN shell
perl -MCPAN -e shell install Sort::Hash
For more information on module installation, please visit the detailed CPAN module installation guide.