Jon Portnoy > IRC-Indexer > IRC::Indexer::Process::JSONify

Download:
IRC-Indexer-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

IRC::Indexer::Process::JSONify - Forkable JSON encoder

SYNOPSIS ^

See ircindexer-server-json

DESCRIPTION ^

A small forkable JSON encoder, usable by POE::Wheel::Run wheels to externally encode JSON.

Used by ircindexer-server-json to offload some processing and reduce the long-term memory footprint of the master (at the cost of some extra forking overhead).

Given an array containing a hash, a network name, and possibly a server name, returns an array containing a JSON hash, the gzipped equivalent thereof, network name, and server name (possibly undef).

See: POE::Wheel::Run and POE::Filter::Reference

AUTHOR ^

Jon Portnoy <avenj@cobaltirc.org>

syntax highlighting: