Rubric::WebApp::Entries - process the /entries run method
version 0.157
Rubric::WebApp::Entries implements a URI parser that builds a query based on a query URI, passes it to Rubric::Entries, and returns the rendered report on the results.
This code is effectively abandonware. Although releases will sometimes be made to update contact info or to fix packaging flaws, bug reports will mostly be ignored. Feature requests are even more likely to be ignored. (If someone takes up maintenance of this code, they will presumably remove this notice.) This means that whatever version of perl is currently required is unlikely to change -- but also that it might change at any new maintainer's whim.
This method is called by Rubric::WebApp. It returns the rendered template for return to the user's browser.
returns a human-readable description of the query described by %args
%args
Given a name/value pair from the path, this method will attempt to generate part of hash to send to << Rubric::Entry->query >>. To do this, it looks for and calls a method called "arg_for_NAME" where NAME is the passed value of $param. If no clause can be generated, it returns undef.
$param
Each of these functions returns the proper value to put in the hash passed to Rubric::Entries->query. If given an invalid argument, they will return undef.
Rubric::Entries->query
Given a username, this method returns the associated Rubric::User object.
Given "happy fuzzy bunnies" this returns [ qw(happy fuzzy bunnies) ]
[ qw(happy fuzzy bunnies) ]
Returns the given boolean as 0 or 1.
This method returns the passed value, if that value is a valid 32-character md5sum.
These methods correspond to those described in Rubric::Entry::Query.
They return the passed string unchanged.
Ricardo SIGNES <rjbs@semiotic.systems>
This software is copyright (c) 2004 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Rubric, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rubric
CPAN shell
perl -MCPAN -e shell install Rubric
For more information on module installation, please visit the detailed CPAN module installation guide.