Time::Duration::Filter - fun filtering of Time::Duration strings
package Time::Duration::sv_CHEF; use Time::Duration::Filter from => 'Time::Duration::sv'; sub _filter { my ($str) = @_; return "$str, bjork, bjork"; }
This is an experiment, it's not really meant for use yet, though it works as far as it goes.
Time::Duration::Filter sets up a new package with exports and functions compatible with Time::Duration and which all work by filtering the output of Time::Duration or a given language-specific package.
Time::Duration::Filter
Time::Duration
Time::Duration, Text::Bastardize
http://user42.tuxfamily.org/time-duration-locale/index.html
Copyright 2009, 2010, 2011, 2013, 2016 Kevin Ryde
Time-Duration-Locale is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Time-Duration-Locale is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Time-Duration-Locale. If not, see <http://www.gnu.org/licenses/>.
To install Time::Duration::Locale, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Time::Duration::Locale
CPAN shell
perl -MCPAN -e shell install Time::Duration::Locale
For more information on module installation, please visit the detailed CPAN module installation guide.