NAME
CGI::Ex::Recipes::Add - Implements the creation of a new recipe!
VERSION
Version 0.02
SYNOPSIS
Perhaps a little code snippet.
sub skip { 0 }
sub name_step { 'edit' }
...
METHODS
See the general documentations for these methods in CGI::Ex::App
skip
name_step
Returns edit
in order the edit.tthtml template to be used
finalize
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.
AUTHOR
Красимир Беров, <k.berov at gmail.com>
BUGS
Not known
SUPPORT
perldoc CGI::Ex::Recipes
COPYRIGHT & LICENSE
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:
- Around line 79:
Non-ASCII character seen before =encoding in 'Красимир'. Assuming UTF-8