summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb58565)
package ProductDatabase;
use base 'Maypole';
__PACKAGE__->set_database("dbi:mysql:products");
package ProductDatabase;
use base 'Maypole';
__PACKAGE__->set_database("dbi:mysql:products");
- BeerDB->config->{uri_base} = "http://your.site/catalogue/";
+ ProductDatabase->config->{uri_base} = "http://your.site/catalogue/";
ProductDatabase::Product->has_a("category" => ProductDatabase::Category);
# ...
ProductDatabase::Product->has_a("category" => ProductDatabase::Category);
# ...