1multidimensional(3)   User Contributed Perl Documentation  multidimensional(3)
2
3
4

NAME

6       multidimensional - disables multidimensional array emulation
7

VERSION

9       version 0.014
10

SYNOPSIS

12           no multidimensional;
13
14           $hash{1, 2};                # dies
15           $hash{join($;, 1, 2)};      # doesn't die
16

DESCRIPTION

18       Perl's multidimensional array emulation stems from the days before the
19       language had references, but these days it mostly serves to bite you
20       when you typo a hash slice by using the "$" sigil instead of "@".
21
22       This module lexically makes using multidimensional array emulation a
23       fatal error at compile time.
24

METHODS

26   unimport
27       Disables multidimensional array emulation for the remainder of the
28       scope being compiled.
29
30   import
31       Enables multidimensional array emulation for the remainder of the scope
32       being compiled;
33

SEE ALSO

35       "$;" in perlvar, B::Hooks::OP::Check.
36

AUTHOR

38       Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
39
41       This software is copyright (c) 2010 - 2016 by Dagfinn Ilmari Mannsåker.
42
43       This is free software; you can redistribute it and/or modify it under
44       the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.34.0                      2021-07-23               multidimensional(3)
Impressum