Edit

IABSD.fr/ports/databases/p5-Sort-SQL/pkg/DESCR

Branch :

  • Show log

    Commit

  • Author : ajacoutot
    Date : 2010-04-15 13:56:33
    Hash : 983fd44e
    Message : Consistency: remove the 1, 2 or even 3 empty blank lines.

  • databases/p5-Sort-SQL/pkg/DESCR
  • 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.