1. Toby Inkster
  2. p5-crm-care

Source

p5-crm-care / test2.pl

#!/usr/bin/perl

use 5.008;
use lib "lib";
use CRM::CARE;
use Data::Dumper;
use Try::Tiny;

my $me = CRM::CARE::Contact->retrieve(500_002);

# print Dumper( $me, [$me->addresses], [$me->activities], [$me->suppressions] );

print Dumper($me);
$me->Salutation('Dear Toby');
$me->update;
print Dumper($me);
$me->Salutation('Darling Toby');
$me->update;
print Dumper($me);