On Tue, 17 Feb 2004 07:54:10 +0900, Guillaume Marcais
<guslist / free.fr> wrote:

>
>Change it to (untested):
>
>def procfile (input, output)
>	@printfile = true
>	while l = input.gets
>		if l =~ /<header/ .. l =~ /<\/header/
>			procline(input, l, output)
>		end 
>	end
>end
>
>The flipflop operator may/will disappear in the next revision of Ruby.
>Do a search on ruby-talk for lengthy discussions on wether or not to
>save flipflop.

Thanks!

In what way are these improvements?

Thanks again,

-- 
Ron Jeffries
www.XProgramming.com
I'm giving the best advice I have. You get to decide if it's true for you.