Are you declaring you array with 'my' int he require()d script? It's a bit late, but at a guess I'd say this probably limits the scope of the array to the require()d file, preventing the other file from ever seeing it.
yes, this was exactly the problem. id cut and pasted it out of the code and left the "my" in there - DOH! problem solved and everythings working fine now though.
thanks for the examples anyway.
duncan