From: Conrad Schneiker Date: 2000-08-09T05:00:49-05:00 Subject: [ruby-talk:04373] Re: DATA and rewind. Hi, On the topic of how Ruby does DATA.rewind, Hugh Sasse Staff Elec Eng wrote: > I thought I had not put it quite > right when I wrote '"least surprise for Perlists" is a good idea', but I > thought from the context of my earlier message this would be clear. I > would have written it to rewind the DATA stream to the start of DATA, not > the start of the file, but I see the merit of making it behave like Perl, > and of course if Perl changes then the case for current behaviour is > weakened. But I'm less inclined to shout for change than I was > originally. Well, maybe there is a better way to do it. Why not have two types of rewind or reset or whatever? I think both behaviors are useful. -- Conrad Schneiker (This note is unofficial and subject to improvement without notice.)