Nigel Wetters Gourlay > WWW-AdServer > WWW::AdServer::Displayer

Download:
WWW-AdServer-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

WWW::AdServer::Displayer - strategy class for displaying adverts

SYNOPSIS ^

  use WWW::AdServer::Displayer::Foo;

  my $displayer = WWW::AdServer::Displayer::Foo->new( r=>$r );

  $displayer->display($advert);

DESCRIPTION ^

Declares an interface common to all Displayer subclasses.

$displayer = WWW::AdServer::Displayer::Foo->new( $r );

Constructor for a Displayer strategy. Must be supplied with either an Apache request object, or an Apache::Emulator object (when using CGI).

$displayer->display($advert);

Outputs the advert to the client.

EXPORT

None by default.

AUTHOR ^

Nigel Wetters (nwetters@cpan.org)

COPYRIGHT ^

Copyright (c) 2001, Nigel Wetters. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.

syntax highlighting: