Hi ikegami,
Thank you for yor replies. The packages are not in the same file. CommonObject is meant to be used by multiple child class objects. I just put all the common variables in the CommonObject.
So the question is, which is better:
Make the array variable a ref variable and do
$self->$common_array_ref=1,1;