Class-Adapter

 view release on metacpan or  search on metacpan

lib/Class/Adapter/Clear.pm  view on Meta::CPAN

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#pod As you can see, the advantage of this full-scale I<Adapter> approach,
#pod compared to inheritance, or function wrapping (see L<Class::Hook>), is
#pod that you have complete and utter freedom to do anything you might need
#pod to do, without stressing the Perl inheritance model or doing anything
#pod unusual or tricky with C<CODE> references.
#pod
#pod You may never need this much power. But when you need it, you B<really>
#pod need it.
#pod
#pod As an aside, Class::Adapter::Clear is implemented with the following
#pod L<Class::Adapter::Builder> formula.
#pod
#pod   use Class::Adapter::Builder
#pod       ISA      => '_OBJECT_',
#pod       AUTOLOAD => 1;
#pod
#pod =head1 METHODS
#pod
#pod =head2 new $object
#pod
#pod As does the base L<Class::Adapter> class, the default C<new> constructor

lib/Class/Adapter/Clear.pm  view on Meta::CPAN

251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
As you can see, the advantage of this full-scale I<Adapter> approach,
compared to inheritance, or function wrapping (see L<Class::Hook>), is
that you have complete and utter freedom to do anything you might need
to do, without stressing the Perl inheritance model or doing anything
unusual or tricky with C<CODE> references.
 
You may never need this much power. But when you need it, you B<really>
need it.
 
As an aside, Class::Adapter::Clear is implemented with the following
L<Class::Adapter::Builder> formula.
 
      ISA      => '_OBJECT_',
      AUTOLOAD => 1;
 
=head1 METHODS
 
=head2 new $object
 
As does the base L<Class::Adapter> class, the default C<new> constructor



( run in 0.707 second using v1.01-cache-2.11-cpan-00829025b61 )