"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 I ran the file, and it worked fine on my Linux box using ruby test.rb This is a total wag: try moving test.rb to d:\ and running it from there, and let us know if there's any difference. Dave