you dereference the array ref:
my @sheep = @{$field->Sheep};, which means that from now on you are working on a copy of the original array. if you want the modified copy to be stored in the field again, insert a line like:
$field->Sheep(\@sheep)
--------------------------------
masses are the opiate for religion.