Bart Lateur wrote:

> On 30 Sep 2000 20:13:55 -0000, Perl6 RFC Librarian wrote:
>
> >But setting $[ = 1 is the mathematically correct method for
> >array addressing and makes it easier for ordinary mortals to do
> >basic tasks with C<substr()>, array addressing and the like.
>
> I sure don't want the fact that a scripter decides to change $[, make
> used modules fail, because the module's author didn't anticipate that.
>
> Does this not imply that $[ should become lexically scoped?

Or maybe $[ should become a lexically scoped pragma

   use arraybase '1';

--
Glenn
=====
Even if you're on the right track,
you'll get run over if you just sit there.
                       -- Will Rogers


_______________________________________________
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html

Reply via email to