More fixes.

This commit is contained in:
Alessandro Ranellucci 2011-10-10 17:27:00 +02:00
parent 34681af6ae
commit bca3abb755
4 changed files with 43 additions and 2 deletions

View file

@ -35,4 +35,9 @@ sub is_printable {
return @$offsets ? 1 : 0;
}
sub is_valid {
my $self = shift;
return @{$self->points} >= 3;
}
1;