This module provides a few subroutines for examining and modifying tied
variables, including those that hold weak references to the objects to
which they are tied (weak ties).
Tie::iCal represents an RFC2445 iCalendar file as a Perl hash. Each key in the
hash represents an iCalendar component like VEVENT, VTODO or VJOURNAL. Each
component in the file must have a unique UID property as specified in the RFC
2445. A file containing non-unique UIDs can be converted to have only unique
UIDs (see samples/uniquify.pl).
The module makes very little effort in understanding what each iCalendar
property means and concentrates on the format of the iCalendar file only.
Test::PerlTidy - check that all your files are tidy.
Time::Format provides a very easy way to format dates and times. The
formatting functions are tied to hash variables, so they can be used
inside strings as well as in ordinary expressions. The formatting
codes used are meant to be easy to remember, use, and read. They
follow a simple, consistent pattern. If I've done my job right, once
you learn the codes, you should never have to refer to the
documentation again.
A quick-reference page is included, just in case. ;-)
Time::Format can also format DateTime objects, and strings created
with Date::Manip.
Also provided is a tied-hash interface to POSIX::strftime and
Date::Manip::UnixDate.
If the I18N::Langinfo module is available, Time::Format provides
weekday and month names in a language appropriate for your locale.
A companion module, Time::Format_XS, is also available; if it is
installed, Time::Format will detect and use it, which will result in a
significant speed improvement.
These routines are the inverse of built-in perl functions localtime() and
gmtime(). They accept a date as a six-element array, and return the
corresponding time(2) value in seconds since the system epoch (Midnight,
January 1, 1970 UTC on Unix, for example). This value can be positive or
negative, though POSIX only requires support for positive values, so dates
before the system's epoch may not work on all operating systems.
Time::Mock speeds up your sleep(), alarm(), and time() calls.
Test::MockTime is nice, but doesn't allow you to accelerate the timestep and
doesn't deal with Time::HiRes or give you any way to change the time across
forks.
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::Out provides an easy interface to alarm(2) based timeouts. Nested
timeouts are supported.
Period.pm is a Perl module that contains code to deal with time periods.
Currently, there is only a function in this module. That function is
called inPeriod().
inPeriod() determines if a given time is within a given time period.
It will return 1 if it is, 0 if not, and -1 if either the time or the
period passed to it were malformed. The time is specified in non-leap
year seconds past January 1, 1970, as per the time() function. The period
is a string which is of the form described in Period's man page.
This module aims to provide ways of testing functions that are meant to
return results that are random; that is, non-deterministic functions.
Some of the tests provided here might be easily achieved with other
testing modules. The reason why they're here is that this way users become
aware of how to test their non-deterministic functions.