![]() |
![]()
| ![]() |
![]()
NAMEmultidimensional - disables multidimensional array emulation VERSIONversion 0.014 SYNOPSISno multidimensional; $hash{1, 2}; # dies $hash{join($;, 1, 2)}; # doesn't die DESCRIPTIONPerl'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. METHODSunimportDisables multidimensional array emulation for the remainder of the scope being compiled. importEnables multidimensional array emulation for the remainder of the scope being compiled; SEE ALSO"$;" in perlvar, B::Hooks::OP::Check. AUTHORDagfinn Ilmari Mannsåker <ilmari@ilmari.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2010 - 2016 by Dagfinn Ilmari Mannsåker. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|