From: James Edward Gray II Date: 2006-06-22T22:46:25+09:00 Subject: Re: bug in $. ? On Jun 22, 2006, at 4:46 AM, Wybo Dekker wrote: > Pit Capitain wrote: > >> DATA does indeed "point to" the input file, right after the >> __END__. You can verify this for example by calling DATA.rewind. >> After that, you can read the text before the __END__. > > Sure, but that is part of the bug, in my opinion. After DATA.rewind > I want to see the first line of the DATA section again. If I want > to see the program source, I can use $0 Just FYI, Perl also allows you to reach the source via DATA. James Edward Gray II