- or download this
my $textanswer = TextAnswer->create(
response_id => $response_id,
...
print qq(CALLING UPDATE<br />);
$textanswer->update;
print qq(CALLED UPDATE<br />);
- or download this
__PACKAGE__->add_trigger( after_create => sub {
...
my ($self) = @_;
print "Finished updating album '$self->{answer} <br />";
});
- or download this
ID = '', Answer = 'John Doe
ID = '2', Answer = 'John Doe
...
TextAnswer->answer =>John Doe
CALLING UPDATE
CALLED UPDATE