At Fri, 2 Mar 2001 20:46:37 +0900 ts wrote:

>>>>>> "M" == Max Ischenko <max / malva.com.ua> writes:

> M> def patchFile(fname, &block)
> M>      IO.foreach(fname) block
>                          ^^^^^
>                          &block
> M> end
>        
> You have forgotten `&'

It works, but do not make changes to the file itself.



> Guy Decoux

-- 
Documentation is like sex: when it is good, it is very, very good; and
when it is bad, it is better than nothing.
		-- Dick Brandon