in reply to Can I pass a reference between two scripts?

The entire concept, while an interesting subject, sounds a little off. My first response would be "Why?!"

It sounds like you have a set of behaviors ABC in some script ABC.pl and you want to incorporate those behaviors into script XYZ. This sounds like the perfect use for modules. Instead of creating a whole script, create a module that has a function in it. That function will have all the behaviors ABC within it, and be able to take an array reference, or whatever else you might want to pass it. And, you can extend that module, get funky with OO, or anything else you might want to do. You get encapsulation and better error-handling and perfect Julienne fries, every time.