CGI-Ex-Recipes - A usage example for CGI::Ex::App! This small but relatively complete application was inspired by the examples, given by Paul in his documentation. You are encouraged to play with it or/and use it as a starting point for far more complex and customized applications. INSTALLATION Just place 'erecipes' into some viewable by the server dir with option 'AllowOverride All'. Fire up the server and point the browser to http:yourhost/your/destination/path/index.cgi. NOTE At any later time you can also run: perl erecipes/install.pl src=erecipes dest=/your/destination/path Where the example application should be installed? [C:\cpanrun/recipes] C:\cpanrun/recipes Checking if your kit is complete... Warning: the following files are missing in your kit: .cvsignore erecipes/.htaccess erecipes/conf/.htaccess erecipes/data/.htaccess erecipes/logs/.htaccess erecipes/perl/.cvsignore erecipes/perl/.htaccess erecipes/templates/.htaccess erecipes/tmp/.htaccess Please inform the author. Writing Makefile for CGI::Ex::Recipes Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/CGI/Ex/Recipes.pm blib\lib\CGI\Ex\Recipes.pm Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\cpanrun\build\5-10-0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" erecipes/perl/t/*.t erecipes/perl/t/00-load.........1..10 ok 1 - use CGI::Ex::Recipes; ok 2 - use CGI::Ex::Recipes::View; ok 3 - use CGI::Ex::Recipes::Edit; ok 4 - use CGI::Ex::Recipes::Add; ok 5 - use CGI::Ex::Recipes::Delete; ok 6 - use CGI::Ex::Recipes::Template::Menu; ok 7 - use CGI::Ex::Recipes::DBIx; ok 8 - use CGI::Ex::Recipes::Default; ok 9 - use CGI::Ex::Recipes::Imager; Name "DBD::SQLite::sqlite_version" used only once: possible typo at C:/cpanrun/build/5-10-0/lib/DynaLoader.pm line 226. # Testing CGI::Ex::Recipes 0.07, Perl 5.010000, C:\cpanrun\build\5-10-0\bin\perl.exe ok 10 - use CGI::Ex::Recipes::Cache; ok erecipes/perl/t/01-cache........ok 1 - use CGI::Ex::Recipes::Cache; ok 2 ok 3 - Set a cache entry. key:key value:value ok 4 - Get the set cache entry. key:key value:value ok 5 - entry:key is in $cache->{cache_hash} too. ok 6 - Clear all cache. ok 7 - key value is undef now. ok 8 - $struct freezed!!! # TODO freeze() and thaw() are not used yet. ok 9 - $struct thawed!!! # TODO freeze() and thaw() are not used yet. ok 10 - $thawed is the same as original $struct. # TODO freeze() and thaw() are not used yet. 1..10 ok 3/10 unexpectedly succeeded TODO PASSED tests 8-10 erecipes/perl/t/boilerplate.....1..13 ok 1 - README contains no boilerplate text ok 2 - Changes contains no boilerplate text ok 3 - lib/CGI/Ex/Recipes.pm contains no boilerplate text ok 4 - erecipes/perl/lib/CGI/Ex/Recipes.pm contains no boilerplate text ok 5 - erecipes/perl/lib/CGI/Ex/Recipes/View.pm contains no boilerplate text ok 6 - erecipes/perl/lib/CGI/Ex/Recipes/Edit.pm contains no boilerplate text ok 7 - erecipes/perl/lib/CGI/Ex/Recipes/Add.pm contains no boilerplate text ok 8 - erecipes/perl/lib/CGI/Ex/Recipes/Delete.pm contains no boilerplate text ok 9 - erecipes/perl/lib/CGI/Ex/Recipes/Template/Menu.pm contains no boilerplate text ok 10 - erecipes/perl/lib/CGI/Ex/Recipes/DBIx.pm contains no boilerplate text ok 11 - erecipes/perl/lib/CGI/Ex/Recipes/Default.pm contains no boilerplate text ok 12 - erecipes/perl/lib/CGI/Ex/Recipes/Imager.pm contains no boilerplate text ok 13 - erecipes/perl/lib/CGI/Ex/Recipes/Cache.pm contains no boilerplate text ok erecipes/perl/t/pod-coverage....1..0 # Skip Test::Pod::Coverage 1.04 required for testing POD coverage skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage erecipes/perl/t/pod.............1..1 ok 1 - blib\lib\CGI\Ex\Recipes.pm ok All tests successful (3 subtests UNEXPECTEDLY SUCCEEDED), 1 test skipped. Passed TODO Stat Wstat TODOs Pass List of Passed ------------------------------------------------------------------------------- erecipes/perl/t/01-cache.t 3 3 8-10 Files=5, Tests=34, 2 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. Installing C:\cpanrun\build\5-10-0\html\site\lib\CGI\Ex\Recipes.html Installing C:\cpanrun\build\5-10-0\site\lib\CGI\Ex\Recipes.pm Appending installation info to C:\cpanrun\build\5-10-0\lib/perllocal.pod C:\cpanrun\recipes: No such file or directory at erecipes/perl/lib/CGI/Ex/Recipes/Install.pm line 60 $VAR1 = { 'src' => 'erecipes', 'dest' => 'C:\\cpanrun/recipes' }; **************************************** CGI::Ex::Recipes - Example application using CGI::Ex::App - Anti-framework application framework. **************************************** Using C:\cpanrun\build\5-10-0\bin\perl.exe 5.10.0 on MSWin32 NMAKE : fatal error U1077: 'C:\cpanrun\build\5-10-0\bin\perl.exe' : return code '0x2' Stop.