multidimensional(3pm)

multidimensional3pm

Disables multidimensional array emulation

Usage

    no multidimensional;
    $hash{1, 2};                # dies
    $hash{join($;, 1, 2)};      # doesn't die

Version

version 0.014

Overview

Perl's multidimensional array emulation stems from the days before the language had references, but these days it mostly serves to bite you when you typo a hash slice by using the "$" sigil instead of "@".

This module lexically makes using multidimensional array emulation a fatal error at compile time.

Methods

unimport

Disables multidimensional array emulation for the remainder of the scope being compiled.

import

Enables multidimensional array emulation for the remainder of the scope being compiled;

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Dagfinn Ilmari Mannsåker <[email protected]>

From libmultidimensional-perl 0.014-2+b4 in Debian 13 (Trixie). Parsed by carta from the page's man source.