[% html_element(type, %attrs, @content) = "<$type$attrs.html_attrs>$content.join</$type>" html_element('a', href='home.html', 'Home') %] --EOF--
look inside...
Thus Spake Andy:

Here's an example of a function to create an HTML element. It has one mandatory parameter, the element type. It accepts any number of named parameters (which are used to generate attributes for the element) and any number of positional arguments (which are used to generate the element content).