Hi,
I need help in perl for writing script to check wheter DISPLAY
variable is set or not in unix and also to check whether it is set
correctly or not.

example : export DISPLAY=XX.xx.xx.xxx

Thanks
Rajashekar