>>>>> "P" == Pit Capitain <pit / capitain.de> writes: P> Why do you need $. to start from 0 when reading from DATA? What is it that P> you're trying to do? Well try this $. = DATA.lineno = 0 P> Personally, I think it shouldn't be allowed to change the $. variable at all. probably >> 4. In Perl it works as (I) expected. But that may be a reason to do >> things differently, of course. very good reason :-) Guy Decoux