in reply to Passing value between pages

There are only "processes", and perl variables don't get shared between processes, see perlintro, Re: Run Subroutine of a class as a background process using Win32::Process, perlipc, system, @ARGV, Process (computing)/Inter-process communication