OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-Sort-SQL-0.08p1

manipulate SQL sort strings

Back to search · Project homepage

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 C<ORDER BY> syntax 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.

Package information

Ports path
databases/p5-Sort-SQL
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
databases, devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Used by (2 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON