Sleep::Handler - A Sleep resource.
Resources are the main objects in a REST-ful application. Each thing in a website should be represented with one Resource class.
This base class contains four methods for the different operations that will croak when called.
croak
Constructor. Will add the arguments as attributes to the object.
Implement get to handle a GET request to this resource.
get
Implement post to handle a POST request to this resource.
post
Implement put to handle a PUT request to this resource.
put
Implement delete to handle a DELETE request to this resource.
delete
If you find a bug, please let the author know.
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.
Peter Stuifzand <peter@stuifzand.eu>
To install Sleep, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sleep
CPAN shell
perl -MCPAN -e shell install Sleep
For more information on module installation, please visit the detailed CPAN module installation guide.