From: nobu.nokada@... Date: 2002-08-24T15:01:10+09:00 Subject: Re: Can I write to DATA? Hi, At Fri, 23 Aug 2002 12:36:33 +0900, Joel VanderWerf wrote: > > script_size = __DATA__.pos > > The following script prints -1. Is there some other way to get the > position without parsing? > > --- > p DATA.pos > __END__ > this is some data. This code gave 19 for me. What's your ruby version (and release date) and platform? -- Nobu Nakada