In message "[ruby-talk:11291]"
    on 01/02/22, "John T" <johnt / mssglobal.com> writes:

> When i use DATA to access the data from within the file i get the following
> error.
> 
> D:\LK\Ruby Prmg\21-2-01\ch 4\src\test.rb:113: uninitialized constant
> DATA(NameError)

> I am attachin the ruby file with this mail.. Please comment

Did you run this script from RubyWin?
If so, this is RubyWin's problem.
This problem has been fixed in RubyWin 0.0.2.6 or later.

  Regards,
  Masaki Suketa