Template::Plugin::Path::Tiny - use Path::Tiny objects from within templates
version v0.1.0
[% USE Path::Tiny %] The file [% x.basename %] is in [% x.parent %].
This plugin allows you to turn scalars and lists into Path::Tiny objects.
Besides some simple filename manipulation, this plugin allows you to perform file operations from within templates. While that may be useful, it's probably a bad idea. Consider performing file operations outside of the template and only using this for manipulating path names instead.
Template
Path::Tiny
The development version is on github at https://github.com/robrwo/Template-Plugin-Path-Tiny and may be cloned from git://github.com/robrwo/Template-Plugin-Path-Tiny.git
Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/Template-Plugin-Path-Tiny/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Robert Rothenberg <rrwo@cpan.org>
This software is Copyright (c) 2018 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Template::Plugin::Path::Tiny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::Path::Tiny
CPAN shell
perl -MCPAN -e shell install Template::Plugin::Path::Tiny
For more information on module installation, please visit the detailed CPAN module installation guide.