in reply to Sharing variables between applications
system 'app2.pl word'; [download]
system "X=word; app2.pl"; [download]
HTH, SSF