Hi folks,
I would like to send all errors and messages to a file, but also to the screen when the script execute. With this config, it seems to just send it to the file but not the screen.sub DEBUG () { 2 }; # set level of debugness. open (STDERR, ">/tmp/computron.logout.log") or die $!; select STDERR; # Begin: logout the computron user: system "clear"; sleep 5; print " "; print " "; print " "; print " "; print " "; print " "; print " Operator, please do a who -R to make sure no more users are logged in."; print " If all ok, continue with production "; print ""; print ""; print ""; print ""; print ""; print ""; print ""; close STDERR; ===== Peter Lemus UNIX/NT Networks Engineer [EMAIL PROTECTED] --The universe is way too big for us to be alone; the real question is; who is out-there, besides us "humans"? --A wise man will be master of his mind, a fool will be its slave. Dr.David Schwartz. --Enjoy every moment of the day; Live like as if today was your last day alive, and perhaps, it might be. __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]