Hi folks, how can I send the output of my script to a errorlog and to the screen at the same time. It is sending it only to the errorlog.
sub DEBUG () { 1 }; # 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]