Your right, Using require ""; you can carry all of the variables, subs, and arrays over to script2.

If your on windows, real path is required, Unix/Linux then you can just leave it as it is with only the script's name, that's if the file your requiring is in the same directory as script1. If not, then full path is needed.