From: Heesob Park Date: 2009-03-16T17:16:57+09:00 Subject: Re: `&' interpreted as argument prefix 2009/3/16 Phlip : > Arun Kumar wrote: >> >> Hi, >> I'm new to rubi and at present i'm trying to write a sample code for >> html extraction and store it in the database. The following is the code >> for that : >> >> doc = Hpricot(open("http://www.google.com/")) > > The offending line is: > >      ele.instance_variable_set("@#{k}", v) > Well, I don't think so. The offending line is: ele.instance_eval &blk If you modify it to ele.instance_eval(&blk) The warning is gone. Regards, Park Heesob