Name : perl-Acme-Time-Baby
| |
Version : 2010090301
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.9.1
| Date : 2023-01-27 17:14:34
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-Time-Baby-2010090301-lp154.9.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Tell time little children can understand
|
Description :
Using this module gives you the function \'babytime\', which will return the time in the form *The big hand is on the ten and the little hand is on the three*. If no argument to \'babytime\' is given, the current time is used, otherwise a time of the form _hh:mm_ can be passed. Both 12 and 24 hour clocks are supported.
When using the module, various options can be given. The following options can be passed:
* language LANG
The language the time should be told in. The following languages are currently supported:
en English (this is the default) br Brazilian Portuguese. ceb Cebuano (Filipine dialect) de German. de_ch Swiss German. du Dutch. es Spanish. fr French. hr Croatian. it Italian. no Norwegian. se Swedish. swedish chef Swedish Chef (from the Muppets). warez l44+.
If no language argument is given, English is used.
* format STRING
This is the format used to represent the time. It will be passed to \'sprintf\', and it should have two \'%s\' formatting codes. The other two arguments to \'sprintf\' are the position of the minute hand (the big hand) and the hour hand (the little hand). If you have perl 5.8 or above, you could use \'%2$s\' and \'%1$s\' to reverse the order.
* number ARRAYREF
An array with the names of the numbers one to twelve, to be used in the formatted time.
* noimport EXPR
By default, the sub \'babytime\' will be exported to the calling package. If for some reason the calling package does not want to import the sub, there are two ways to prevent this. Either use \'use Acme::Time::Baby ()\', which will prevent \'Acme::Time::Baby::import\' to be called, or pass \'noimport\' followed by a true value as arguments to the \'use\' statement.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.4/noarch |