Perhaps you could provide more details about the big picture... Are you operating at the command line or trying to get Apache to run the script? If the former, just type "perl scriptname", if the latter, something like "http://www.yourdomain.com/cgi-bin/scriptname". Assuming everything is setup OK.
If the first script is a module you want to use in the second script, you include it with "use modulename".
If you really do want to execute the first script from the second script, you might use exec, system, or fork. You can also use backticks, like a shell.
But none of these involve actually reading the file into an array. Of course, there is always "eval", I guess. As Moltar just pointed out I see...