for my $wfref (@{$data{flows}{$data{partners}{$part_id}{flow}}}) { #... }