MATSUNO★Tokuhiro > Amon2-Plugin-ShareDir-v0.0.2 > Amon2::Plugin::ShareDir

Download:
Amon2-Plugin-ShareDir-v0.0.2.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: v0.0.2   Source   Latest Release: Amon2-Plugin-ShareDir-v0.0.7

NAME ^

Amon2::Plugin::ShareDir - (EXPERIMENTAL) share directory

SYNOPSIS ^

    # MyApp.pm
    __PACKAGE__->load_plugin('ShareDir');

    # in your app
    my $tmpl_path = catdir(MyApp->share_dir(), 'tmpl');

DESCRIPTION ^

Put assets to share/ directory. Please look Ukigumo::Agent for example.

THIS IS A DEVELOPMENT RELEASE. API MAY CHANGE WITHOUT NOTICE.

STRATEGY ^

use catdir($c->base_dir, 'share') if not installed to system
use dist_dir($dist_naem) if installed to system

AUTHOR ^

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

SEE ALSO ^

Amon2, File::ShareDir

LICENSE ^

Copyright (C) Tokuhiro Matsuno

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: