in reply to
Use a Variable in a Separate Perl Script
Use
require
and package name spaces. Your 2nd script becomes an library that is used/loaded by the first.
Comment on
Re: Use a Variable in a Separate Perl Script
In Section
Seekers of Perl Wisdom