It might be possible to set variables in a different script that you read via
do,
require or
use. It is not possible with lexical variables (those declared with
my), though. Also, your use of the work "page" seems to indicate you are programming for
CGI. To share variables between pages, use hidden fields or sessions.