Damian Conway wrote:
> 
>    > Well, RFC 23 doesn't mention ^0, and has several examples starting
>    > at ^1. And it draws the analogy between ^1, ^2, etc and $1, $2,
>    > etc. I didn't make it up.
> 
> My apologies. The examples you refer to are incorrect. They were added by
> a helper, but the responsibility is mine -- for not checking them
> thoroughly enough.

>         "Array and placeholder indices both start at *zero*!"

Sorry for being late, but "why?!"

It makes more sense in a vacuum, but given $1, $2, etc, I'd *much* more
expect them to start with ^1, ^2, and so on. It's much more consistent.

Unless we move the program name out of $0 and redo regexp's... [1]

-Nate

[1] Suggest this and I will kill you. :-)

Reply via email to