Plack::Middleware::GNUTerryPratchett - Adds automatically an X-Clacks-Overhead header.
version 0.01
use Plack::Builder; my $app = builder { enable "Plack::Middleware::GNUTerryPratchett"; sub {[ '200', ['Content-Type' => 'text/html'], ['hello world']] } };
Plack::Middleware::GNUTerryPratchett adds automatically an X-Clacks-Overhead header.
In Terry Pratchett's Discworld series, the clacks are a series of semaphore towers loosely based on the concept of the telegraph. Invented by an artificer named Robert Dearheart, the towers could send messages "at the speed of light" using standardized codes. Three of these codes are of particular import:
G: send the message on
N: do not log the message
U: turn the message around at the end of the line and send it back again When Dearheart died, his name was inserted into the overhead of the clacks with a "GNU" in front of it to memorialize him forever (or for at least as long as the clacks are standing.)
For more information: http://www.gnuterrypratchett.com/
Tiago Peczenyj <tiago.peczenyj@gmail.com>
To install Plack::Middleware::GNUTerryPratchett, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::GNUTerryPratchett
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::GNUTerryPratchett
For more information on module installation, please visit the detailed CPAN module installation guide.