NAME

WWW::AdServer::Advert - represents a web advert in Perl

SYNOPSIS

use WWW::AdServer::Advert;

my $advert = WWW::AdServer::Advert->new( displayer=>$display, zone=>$zone );

$advert->display;

DESCRIPTION

Represents an advert.

$object = WWW::AdServer::Advert->new( %hash );

Constructor for an Advert object. Must be passed a hash of arguments containing the Displayer object, and one of exhange_id (memeber id for banner exchange), zones (zone ids for serving ads), or advert (advert id).

$object->display;

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.