NAME

Konstrukt::Plugin::sortlines - Sort all lines of plaintext nodes

SYNOPSIS

<& sortlines &>
	some
	<!-- comments -->
	unsorted
	lines
	<!-- will be put -->
	here
	<!-- on top of the list -->
<& / &>

DESCRIPTION

This plugin will sort the input lines

METHODS

prepare

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.

execute

Sort the input.

Parameters:

  • $tag - Reference to the tag (and its children) that shall be handled.

process

As prepare and execute are almost the same each run will just call this method.

Parameters:

  • $tag - Reference to the tag (and its children) that shall be handled.

AUTHOR

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.

SEE ALSO

Konstrukt::Plugin, Konstrukt