On Wed, Jun 29, 2005 at 01:32:19PM +0200, Rafael Garcia-Suarez wrote:

> Right. So, no bug. (Although the incrementation of the return value of
> .. is not expected/documented, but a side-effect of the implementation).

That's not true.  It is documented in perlop:

     The value returned is either the empty string for false, or a sequence
     number (beginning with 1) for true.  The sequence number is reset for
     each range encountered.  The final sequence number in a range has the
     string "E0" appended to it, which doesn't affect its numeric value,
     but gives you something to search for if you want to exclude the
     endpoint.  You can exclude the beginning point by waiting for the
     sequence number to be greater than 1.

Ronald

Reply via email to