New AdSpace tests, need to start looking at coverage.

Added some comments and fixed some POD in AdSpace.pm and Ad.pm
This commit is contained in:
Colin Kuskie 2007-02-05 01:01:20 +00:00
parent 870d9dbe46
commit c9726f7b4d
4 changed files with 29 additions and 13 deletions

View file

@ -329,6 +329,7 @@ The height, in pixels, of this ad space.
sub set {
my $self = shift;
my $properties = shift;
##create requires a name, default will never be used
$self->{_properties}{name} = $properties->{name} || $self->{_properties}{name} || "Unnamed";
$self->{_properties}{title} = $properties->{title} || $self->{_properties}{title} || "Untitled";
$self->{_properties}{description} = $properties->{description} || $self->{_properties}{description};