in reply to Send variables

Are you sure you want to send variables? Don't you want to send values?

As for "sending", what to do depends on what you want. Does the first script start the other? Or are both scripts running by the time you want to exchange values? Or perhaps the second script doesn't start running long after the first one finished? Are they running on the same machine?

There are several ways of Inter Process Communication discussed in the perlipc manual page. Doesn't any of them work for you?