Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-BREAD CPAN distribution.

Report information
The Basics
Id: 13630
Status: resolved
Worked: 5 min
Priority: 0/
Queue: CGI-Application-Plugin-BREAD

People
Owner: Nobody in particular
Requestors: rhesa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.10
Fixed in: (no value)



Subject: Example code in synopsis improvement
The example code in the synopsis has two minor flaws, which prevents a cut'n'paste trial: - bread_db is not exported by default, so $self->bread_db dies - Class::DBI::Loader is used but not 'use'd ;) Patch attached. Rhesa
--- BREAD.pm.orig 2005-07-10 16:16:23.000000000 +0200 +++ BREAD.pm 2005-07-10 16:17:34.000000000 +0200 @@ -414,7 +414,8 @@ package MyBREADApp; use base 'CGI::Application'; - use CGI::Application::Plugin::BREAD; + use CGI::Application::Plugin::BREAD qw(bread_db); + use Class::DBI::Loader; sub setup {