The databases/p5-Sort-SQL port
p5-Sort-SQL-0.08p1 – manipulate SQL sort strings (cvsweb github mirror)
Description
Sort::SQL is so simple it almost doesn't deserve to be on CPAN. But since I kept finding myself copy/pasting this method into multiple places, I finally figured it deserved to live in its own class. Sort::SQL implements one method: string2array(). Takes a scalar string of the SQL CWWW: https://metacpan.org/release/Sort-SQLsyntax and turns it into an array of key/value pair hashrefs. This method can be used e.g. in Template Toolkit applications, to create re-sortable table columns.
Maintainer
The OpenBSD ports mailing-list
Categories
Files
- /usr/local/libdata/perl5/site_perl/Sort/
- /usr/local/libdata/perl5/site_perl/Sort/SQL.pm
- /usr/local/man/man3p/Sort::SQL.3p