CGI::Ex::Recipes::Add - Implements the creation of a new recipe!
Version 0.02
Perhaps a little code snippet.
sub skip { 0 } sub name_step { 'edit' } ...
See the general documentations for these methods in CGI::Ex::App
Returns edit in order the edit.tthtml template to be used
edit
The real work is done here. First checks for abs record in the recipes table with the same title and if found adds an error to the template. Otherwise inserts the new record. See the code foreach details.
Красимир Беров, <k.berov at gmail.com>
<k.berov at gmail.com>
Not known
perldoc CGI::Ex::Recipes
Copyright 2007 Красимир Беров, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Красимир'. Assuming UTF-8
To install CGI::Ex::Recipes, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Ex::Recipes
CPAN shell
perl -MCPAN -e shell install CGI::Ex::Recipes
For more information on module installation, please visit the detailed CPAN module installation guide.