From: why the lucky stiff Date: 2003-07-30T07:46:04+09:00 Subject: Re: Warnings? On Tuesday 29 July 2003 04:12 pm, Tim Bates wrote: > On Wed, Jul 30, 2003 at 01:00:21AM +0900, Yukihiro Matsumoto wrote: > > You've inspired me to add a way to stop all warnings. In the near > > future release, -W0 stops all warnings. > > What can I do in the meantime? One of my curses-based apps is > practically unuseable, because the database-backed prints lots of > warnings every time it does anything. I'd like to have an interim > solution. ;) > $stderr.close Or: $stderr = File.open( '/var/log/tims-ncurses-app.log', 'w' ) _why