http://www.perlmonks.org?node_id=662461


in reply to namespace hacking with globs

Perhaps do it the other way?

Take a reference to the array in the other namespace, and fill that up.

my $ar = \@OtherNameSpace::Ar; doTheThingWhichPopulatesBigArray($ar);
That way you've still only got one copy of the data.