App-Templer
view release on metacpan or search on metacpan
examples/complex/input/stylesheet.skx view on Meta::CPAN
type="text/css" />
<!-- tmpl_else -->
<link rel="stylesheet" href="style.css" type="text/css" />
<!-- /tmpl_if -->
</pre>
<p>Here the code basically says:</p>
<ul>
<li>If there is a variable called "stylesheet" set then use it.</li>
<li>Otherwise include the "style.css" link.</li>
</ul>
<p>If you guessed you could then set a per-page stylesheet-variable you'd be correct.</p>
<p>This page contains a link to one:</p>
<pre>
title: Stylesheet Example
stylesheet: dark.css
----
..
</pre>
</blockquote>
( run in 1.033 second using v1.01-cache-2.11-cpan-702932259ff )