in reply to Best way to return array or hash?

By the way, How can i get an array from a perl code (say a.pl) by calling it from the other perl code (b.pl)

a.pl is the called code and b.pl the calling one.

Thanks