App-Office-Contacts-Import-vCards
view release on metacpan or search on metacpan
lib/App/Office/Contacts/Import/vCards/Controller/Import.pm view on Meta::CPAN
sub check_validation
{
my($self, $name, $result) = @_;
my($status);
if ($result -> success)
{
# The output from report_add() is too complex to display without further work,
# so we rig the output to say OK.
$status = $self -> param('view') -> person -> report_add($self -> param('user_id'), $result);
$status = 'OK';
}
else
{
$status = $self -> param('db') -> util -> build_brief_error_report($result, $self -> param('template') );
}
return $status;
( run in 0.433 second using v1.01-cache-2.11-cpan-a1f116cd669 )