in reply to Re: Check for truth of variable in HTML::Template
in thread Check for truth of variable in HTML::Template
Just a little tip, you can debug-output into HTML, too, because it supports comments ;-)
<!-- YOUR COMMENT HERE -->
So you can check your variable used in TT like this:
<!-- Foo: [% Bar %] -->
If you are generating HTML used in a browser, you can also debug to the JS console:
<script>console.log("Foo: [% Bar %]");</script>
|
|---|