The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sleep::Request - A Sleep request.

DESCRIPTION

CLASS METHODS

new

Constructor. Needs three arguments: request, the apache request; db, a database object; and vars, an array with the variables parsed from the URL.

METHODS

id

Returns the first variable from vars.

decode($data)

Parses the JSON data in $data to a perl representation. Retrieve this value using data.

data

Return the parsed data object.

BUGS

If you find a bug, please let the author know.

COPYRIGHT

Copyright (c) 2008 Peter Stuifzand. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Peter Stuifzand <peter@stuifzand.eu>