in reply to Defereferncing an array gathered from an object

Please try
if(defined $data){ $exportLibs{$scopeName} = $data; }
Hope this is what you really want.
Update: If your intention is to join more than one $data array for the same $scopeName, you'd need:
if(defined $data){ push @{ $exportLibs{$scopeName} } = @$data; }