Help for this page
use strict; use warnings; ... grep {defined $_ && length $db[$_]} @usedIds; print $template->output ();
For example, if user defines in a template a string "%section_10%" I r +etrieve value "10", make a mySQL query to select some text from row with id = +10 and then replace text with query result "should".