Mercurial > pub > Impl
comparison Lib/CDBI/Map.pm @ 165:76515373dac0
Added Class::Template,
Rewritten SQL::Schema
'use parent' directive instead of 'use base'
author | wizard |
---|---|
date | Sat, 23 Apr 2011 23:06:48 +0400 |
parents | 16ada169ca75 |
children |
comparison
equal
deleted
inserted
replaced
164:eb3e9861a761 | 165:76515373dac0 |
---|---|
85 1; | 85 1; |
86 __END__ | 86 __END__ |
87 =pod | 87 =pod |
88 =head1 SYNOPSIS | 88 =head1 SYNOPSIS |
89 package App::CDBI; | 89 package App::CDBI; |
90 use base 'Class::DBI'; | 90 use parent 'Class::DBI'; |
91 | 91 |
92 #.... | 92 #.... |
93 | 93 |
94 package App::MapString; | 94 package App::MapString; |
95 use base 'Class::DBI','CDBI::Map'; | 95 use parent 'Class::DBI','CDBI::Map'; |
96 | 96 |
97 #.... | 97 #.... |
98 | 98 |
99 | 99 |
100 my $Map = App::MapString->retrieve($id); | 100 my $Map = App::MapString->retrieve($id); |