[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vectors as functions

> I am reminded of Perl's $[ variable, which allows the programmer to set
> the index of the first element of an array.  My impression is that even
> among people who consider "there's more than one way to do it" one of
> Perl's great features, $[ is considered a bad idea.

    Absolutely, but that's quite a different thing than enabling a
capability that wouldn't otherwise be available.