Add an element to the Queue if either... a) the queue isn't full, or b) the element belongs in the queue and should displace another
Pop the *least* item off of the priority queue.
Return the least item in the queue, but don't remove it.
Empty the queue into an array, with the highest priority item at index 0.
To install KinoSearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KinoSearch
CPAN shell
perl -MCPAN -e shell install KinoSearch
For more information on module installation, please visit the detailed CPAN module installation guide.