in reply to Referncing a local array outside

There's no need at all to use 'local' here. Just use 'my @ARRAY;' instead, and then you should be safe.

Abigail