Package: libtime-piece-perl (1.11-2) [universe]
Links for libtime-piece-perl
Ubuntu Resources:
Download Source Package libtime-piece-perl:
- [libtime-piece-perl_1.11-2.dsc]
- [libtime-piece-perl_1.11.orig.tar.gz]
- [libtime-piece-perl_1.11-2.diff.gz]
Maintainer:
Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.
Original Maintainers (usually from Debian):
- Debian Perl Group (Mail Archive)
- Krzysztof Krzyzaniak (eloy)
- gregor herrmann
- Niko Tyni
It should generally not be necessary for users to contact the original maintainer.
Similar packages:
Perl module for object oriented time objects
This module replaces the standard localtime and gmtime functions with implementations that return objects. It does so in a backwards compatible manner, so that using localtime/gmtime in the way documented in perlfunc will still return what you expect.
Time::Piece does the right thing with the return value from localtime:
- in list context it returns a list of values
- in scalar context it returns a Time::Piece object
- when stringified (or printed), Time::Piece objects look like the
output from scalar(localtime)
Beyond that, Time::Piece objects allow you to get any part of the date/time via method calls, plus they allow you to get at the string form of the week day and month. It has methods for julian days, and some simple date arithmetic options.
Time::Piece also gives you easy access to your C library's strftime and strptime functions, so you can parse and output locale sensitive dates to your heart's content :-)
Other Packages Related to libtime-piece-perl
|
|
|
-
- dep: libc6 (>= 2.5-0ubuntu1)
- GNU C Library: Shared libraries
also a virtual package provided by libc6-udeb
-
- dep: perl (>= 5.8.8-6.1)
- Larry Wall's Practical Extraction and Report Language
-
- dep: perlapi-5.8.8
- virtual package provided by perl-base
Download libtime-piece-perl
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| amd64 | 26.2 kB | 128.0 kB | [list of files] |
| i386 | 26.2 kB | 128.0 kB | [list of files] |