From: "Mark J. Reed" Date: 2003-09-19T04:15:23+09:00 Subject: Re: closing stderr On Fri, Sep 19, 2003 at 03:40:04AM +0900, Michael Garriss wrote: > >>bin/ruglyctl:132:in `require': > >>/usr/www/apache/rugly/lib/rdb_rugly.rb:40: dynamic constant assignment > >>(SyntaxError) > >>STDERR = $stderr > >> > > No, not running this code in mod_ruby. It seems that the problem is > that it's run from within a method. Oh, right. You can fix that with eval. eval "STDERR = $stderr" But this is getting uglier all the time. Are you sure the $stderr reassignment doesn't work for you? -Mark