in reply to It is not an array!
My guess is that the object might not be being blessed properly, but without being able to see the Module::Name::new function, there's not much I (we?) can tell about it. Could you post it please?
In Section
Seekers of Perl Wisdom