Amon2::Plugin::ShareDir - (EXPERIMENTAL) share directory
# MyApp.pm __PACKAGE__->load_plugin('ShareDir'); # in your app my $tmpl_path = catdir(MyApp->share_dir(), 'tmpl');
Put assets to share/ directory. Please look Ukigumo::Agent for example.
THIS IS A DEVELOPMENT RELEASE. API MAY CHANGE WITHOUT NOTICE.
use catdir($c->base_dir, 'share')if not installed to system
dist_dir($dist_name)if installed to system
Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.