<div dir="ltr"><div><div><div>Hi everyone,<br>I'm deploying my first Dancer2 app, and I want to use different CSS+JS files in development and production. What are good ways to do this? (simple, maintainable) </div><br>


The solution I've imagined so far is to have two separate list of files, and manually include one or the other into my layout with Template::Toolkit's <% INCLUDE filename %>. There must be a better  way.<br>

 <br></div><div>Unfortunately, I haven't found how to access environment variables inside the layout file.<br></div><div>Pierre<br></div><div><br></div></div><div><div><div><div>
<br clear="all"><div><div><div dir="ltr">---<br>I check email a couple times daily; to reach me sooner, you can send me a text message via this page: <a href="https://awayfind.com/mascip" target="_blank">https://awayfind.com/mascip</a><br>


</div></div>
</div></div></div></div></div></div>