Query: time::human
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Human(3pm) User Contributed Perl Documentation Human(3pm)NAMETime::Human - Convert localtime() format to "speaking clock" timeSYNOPSISuse Time::Human; print "The time is now ", humanize(localtime());DESCRIPTIONThis module provides a "vague" rendering of the time into natural language; it's originally intended for text-to-speech applications and other speech-based interfaces. It's fully internationalised: if you look at the code, you'll see a global variable called %Time::Human::templates, which you can fill in for other languages. If you do multinationalise it, please send me templates for other languages to be added to future releases. You can set the default language via the global variable $Time::Human::Language $Time::Human::Evening and $Time::Human::Night decide the hours at which afternoon turns to evening and evening turns to night in your cul- ture. For instance, Greeks may want evening to start at 11pm; for hackers, evening may start at 3am.USAGEImport Parameters This module accepts no arguments to it's "import" method (actually, it doesn't even have an import "method"). Exports This module exports a single symbols, the "humanize" function.CREDITSSimon Cozens (SIMON) for originally creating this module. Ricardo SIGNES (RJBS) for being inhumanly patient in waiting for me to apply a one line whitespace trimming patch. Everyone at the DateTime "Asylum".SUPPORTSupport for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more detailsAUTHORSimon Cozens, "simon@cpan.org"CURRENT MAINTAINERJoshua Hoblitt, "jhoblitt@cpan.org"COPYRIGHTCopyright (C) 2006-2007 Joshua Hoblitt. All rights reserved. Copyright (C) 2001-2002(???) Simon Cozens. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module, or in perlartistic and perlgpl Pods as supplied with Perl 5.8.1 and later.SEE ALSODateTime, DateTime::Format::Human perl v5.8.8 2007-07-30 Human(3pm)
Similar Topics in the Unix Linux Community |
---|
Good Night Gollum |
What's your drink? |
eFront: v3.5.2 released |
RTEMS 4.9.1 (Latest Stable branch) |
Trouble Assigning Variable with Function |