Time::Duration::en_PIGLATIN - fun pig Latin time durations
use Time::Duration::en_PIGLATIN; print "next update ",duration(150),"\n"; # prints "2 inutesmay andway 30 econdssay"
Time::Duration::en_PIGLATIN is a silly variant of Time::Duration returning duration strings in pig Latin (igpay Atinlay). It can be used directly, or via Time::Duration::Locale with language setting "en_PIGLATIN".
Time::Duration::en_PIGLATIN
Time::Duration
Time::Duration::Locale
Like Time::Duration, the following functions are exported by default
later() later_exact() earlier() earlier_exact() ago() ago_exact() from_now() from_now_exact() duration() duration_exact() concise()
The exports follow Time::Duration at run-time, so anything new there is automatically filtered and exported.
Time::Duration, Time::Duration::Locale
Lingua::PigLatin
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.