5 with 'Printable', 'HasAccount', 'OutputsXML';
9 predicate => 'has_title',
10 clearer => 'clear_title',
13 has first_name => ( is => 'rw' );
15 has last_name => ( is => 'rw' );
20 my $title = join q{ }, $self->first_name, $self->last_name;
21 $title .= q[ (] . $self->title . q[)]
27 sub as_string { $_[0]->full_name }
33 ( map { "<$_>" . ( $self->$_ || q{} ) . "</$_>" } qw( first_name last_name title ) ),
39 __PACKAGE__->meta->make_immutable;