in reply to Set Display Variable
$ENV {DISPLAY} = "192.168.1.1:0.0"; [download]
See also the perlvar manual page.
Abigail