That use of $[ is unsupported

March 22nd, 2009

Description:
Message> That use of $[ is unsupported

admin Perl

  1. admin
    March 22nd, 2009 at 21:18 | #1

    (F) Assignment to $[ is now strictly circumscribed, and interpreted as a compiler directive. You may say only one of

        $[ = 0;
        $[ = 1;
        ...
        local $[ = 0;
        local $[ = 1;
        ...

    This is to prevent the problem of one module changing the array base out from under another module inadvertently. See “$[” in perlvar.

  1. No trackbacks yet.