If you define a variable as 'my' in another file, you CAN NOT get to it from outside that file. That's what lexical scoping means. You don't want lexical scoping here.
Jeff japhy Pinyan,
P.L., P.M., P.O.D, X.S.:
Perl,
regex,
and perlhacker How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart