Test::Output provides a simple interface for testing output sent to
STDOUT or STDERR. A number of different utilities are included to try
and be as flexible as possible to the tester.
Originally this module was designed not to have external requirements,
however, the features provided by Sub::Exporter over what Exporter
provides is just to great to pass up.
Test::Output ties STDOUT and STDERR using Test::Output::Tie.
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.
This module was created as an alternative to use fields,
and uses Class::Accessor::Fast as a base
Creates accessors at compiletime
Have own default new method: it creates object as a blessed hash,
then locks keys to defined field list, and invoke init.
So, recommended usage inside packages, is access by hash keys
(it's 3 times faster then accessor). Since keys are locked,
you will not suffer from autovivification. Public interface
recommended to be documented as accessors.
Uses Class::C3
Because Perl methods are just regular subroutines, it's difficult to
tell what's a method and what's just an imported function. As a result,
imported functions can be called as methods on your objects. This pragma
will delete imported functions from your class's symbol table, thereby
ensuring that your interface is as you specified it. However, code
inside your module will still be able to use the imported functions
without any problems.
The reaper module provides a $SIG{CHLD} handler that can be installed
globally as well as locally. It also supports chaining of signal handlers,
meaning it will not just replace an existing $SIG{CHLD} handler. It still
requires applications to do the right thing in using this module and not
installing their own versions. At least it provides a consistent
implementation that can be shared between various modules.
PEAR generic classes for representation and manipulation of dates,
times and time zones without the need of timestamps, which is a
huge limitation for php programs. Includes time zone data, time
zone conversions and many date/time conversions.
It does not rely on 32-bit system date stamps, so you can display
calendars and compare dates that date pre 1970 and post 2038. This
package also provides a class to convert date strings between
Gregorian and Human calendar formats.
The Event_Dispatcher acts as a notification dispatch table.
It is used to notify other objects of interesting things. This
information is encapsulated in Event_Notification objects. Client
objects register themselves with the Event_Dispatcher as observers of
specific notifications posted by other objects. When an event occurs,
an object posts an appropriate notification to the Event_Dispatcher.
The Event_Dispatcher dispatches a message to each registered
observer, passing the notification as the sole argument.
The package is essentially an implementation of a PageController pattern.
Architecture:
* Controller class that examines HTTP requests and manages form values
persistence across requests.
* Page class (subclass of QuickForm) representing a single page of the form.
* Business logic is contained in subclasses of Action class.
Cool features:
* Includes several default Actions that allow easy building of multipage forms.
* Includes usage examples for common usage cases (single-page form, wizard,
tabbed form).
The phpDocumentor tool is a standalone auto-documentor similar to JavaDoc
written in PHP. It differs from PHPDoc in that it is MUCH faster, parses a much
wider range of php files, and comes with many customizations including 11 HTML
templates, Windows help file CHM output, PDF output, and XML DocBook peardoc2
output for use with documenting PEAR. In addition, it can do PHPXref source
code highlighting and linking.
This package offers a toolkit to render out a datagrid in HTML format as
well as many other formats such as an XML Document, an Excel Spreadsheet, an
XUL Document and more. It also offers paging and sorting functionality to
limit the data that is presented and processed. This concept is based on the
.NET Framework DataGrid control and works very well with database and XML
result sets.