NAME

Mojolicious::Plugin::ZombieApocalypse - Detect Zombie apocalypse

DESCRIPTION

Detect Zombie apocalypse by examining incoming requests and respond appropriately.

USAGE

    use Mojolicious::Lite;

    plugin 'zombie_apocalypse';

    get '/brains' => sub {
        # Segfault.  Don't bother serving response, there's no time.
        # Get the hell out of here
    };

    app->start;

Segfault if /brains are requested. (Zombies are dead, so they're RESTful)

METHODS

Mojolicious::Plugin::ZombieApocalypse inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

    $plugin->register;

Register condition in Mojolicious application.

SEE ALSO

Mojolicious

DEVELOPMENT

http://github.com/tempire/mojolicious-plugin-zombieapocalypse

VERSION

0.01

CREDITS

Implementation stolen from Plack::Middleware::ConsoleLogger

AUTHOR

Glen Hinkle tempire@cpan.org