Whoooweee! Wow, you don't mess around do you, ask for a rock and get a rocket back. Looks like it beats the heck out of Template::Toolkit doesn't it?
Thank you for sharing your code. At the very least it makes html documents a lot easier for me to read and more concise. Great!