README
1NAME
2
3 multidimensional - disables multidimensional array emulation
4
5VERSION
6
7 version 0.014
8
9SYNOPSIS
10
11 no multidimensional;
12
13 $hash{1, 2}; # dies
14 $hash{join($;, 1, 2)}; # doesn't die
15
16DESCRIPTION
17
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
25METHODS
26
27 unimport
28
29 Disables multidimensional array emulation for the remainder of the
30 scope being compiled.
31
32 import
33
34 Enables multidimensional array emulation for the remainder of the scope
35 being compiled;
36
37SEE ALSO
38
39 "$;" in perlvar, B::Hooks::OP::Check.
40
41AUTHOR
42
43 Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
44
45COPYRIGHT AND LICENSE
46
47 This software is copyright (c) 2010 - 2016 by Dagfinn Ilmari Mannsåker.
48
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51
52