[dancer-users] How to bundle and use Plugin Specific views?

Yanick Champoux yanick.champoux at gmail.com
Fri Sep 7 14:38:10 BST 2018


On 2018-09-01 12:42 AM, vijayvithal jahagirdar wrote:
> I am creating function specific modules that can be used across 
> multiple applications. These modules has associated 
> views/function/*.tt files.
>
> 2. Is there a module on CPAN which solves this problem?
> Regards
>

https://metacpan.org/pod/File::ShareDir::Dist might be the tool you are 
looking for. It makes it easy to bundle generic files with distributions 
and retrieve them when installed as part of them. I use it a lot to 
distribute css / js files as part of my plugins.


Joy,
`/anick


More information about the dancer-users mailing list