<TMPL_IF my_var =~ /some string/> [download]
In reply to HTML::Template regular expression usage by sh1tn