Konstrukt::Plugin::sortlines - Sort all lines of plaintext nodes
Usage:
<& sortlines &> some <!-- comments --> unsorted lines <!-- will be put --> here <!-- on top of the list --> <& / &>
Result:
<!-- comments --> <!-- will be put --> <!-- on top of the list --> here lines some unsorted
This plugin will sort the input lines
If the input is not dynamic, we can already sort in the prepare step.
Parameters:
$tag - Reference to the tag (and its children) that shall be handled.
Sort the input.
As prepare and execute are almost the same each run will just call this method.
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.
Konstrukt::Plugin, Konstrukt
To install Konstrukt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Konstrukt
CPAN shell
perl -MCPAN -e shell install Konstrukt
For more information on module installation, please visit the detailed CPAN module installation guide.