• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Tie::Hash::Rank Download

Tie::Hash::Rank

September 28, 2009
This software generates a hash that converts values into ranking positions.
Version 1.0.1
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by David Cantrell
I recently tested Tie::Hash::Rank, a Perl module that I found to be a game-changer for anyone who wants to return the rank of a hash value instead of the actual data. This feature can save time and increase efficiency in many different scenarios.

One of the most impressive things about Tie::Hash::Rank is that it automatically ranks items numerically, with the highest value getting rank 1. Additionally, if two values are equal, they will get the same rank. Users can control the ranking algorithm by specifying the ALGORITHM parameter, which is set to a reverse-numeric sort by default. However, other sorting types can be used by defining $DATA{$a} and $DATA{$b}, as described in the perldoc -f sort.

Tie::Hash::Rank also includes several named parameters that allow for even more customization. For instance, users can add EQUALITYSUFFIX or EQUALITYPREFIX to the rank of items with equal rank by using the appropriate parameters. The default is to have no EQUALITYSUFFIX or EQUALITYPREFIX, but many users prefer using an equal sign.

Lastly, Tie::Hash::Rank supports the RECALCULATE parameter, which can be set to either onstore or onfetch, and defaults to 'onstore'. This determines when the module recalculates the ranks. 'onstore' makes it recalculate whenever you add a value to the hash, and 'onfetch' whenever you retrieve a value. This is particularly useful if you need to tune your hash for data, which is mainly read or mainly written.

I found Tie::Hash::Rank to be incredibly straightforward to implement in code. The SYNOPSIS provided by the module includes a simple example that demonstrates how to tie a hash using Tie::Hash::Rank. This module is an excellent choice for anyone looking to efficiently retrieve rank from their hashes.
What's New

Version 1.0.1: N/A

Free Download 3.2K
278
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

FAQ Search
This software enables website owners to add a FAQ script to their ...
RetrospeKt
RetrospeKt simplifies and streamlines the backup process, making it more user-friendly and ...
Neko-zegar
Neko-zegar is a user-friendly clock software that enables users to customize skins ...
Fish Fillets
Fish Fillets, an engaging puzzle game from ALTAR interactive, is available on ...
Foto Knox
Foto Knox is a protection-focused software designed for securing digital photos. It ...
AV Journal
This software is a tool for taking audio and video notes. It ...
SegyMAT
This software consists of m-files that enable Matlab programs to efficiently handle ...
GtkOL-LDAP
GtkOL-LDAP is a Graphical User Interface (GUI) client software that is built ...
Network Security Toolkit
This software is a Fedora-based live CD that can be booted from ...
Kricketscoreboard
Kricketscoreboard is a software designed to track score for cricket games.
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.