Prophet::CLI::Command::Search.3pm

Langue: en

Version: 2010-04-06 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

display_terminal $records

Takes a collection of records, sorts it according to $sort_routine, and then prints it to standard output using Prophet::Record-format_summary> as the format.

sort_by_prop $prop, $records

Given a property name and an arrayref to a list of records, returns a list of the records sorted by their "created" property, in ascending order.

group_by_prop $prop => $records

Given a property name and an arrayref to a list of records, returns a reference to a list of hashes of the form:
     { label => $label,
       records => \@records }