Class-Adapter

 view release on metacpan or  search on metacpan

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

#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

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.

  use Class::Adapter::Builder
      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.246 second using v1.01-cache-2.11-cpan-1dc43b0fbd2 )