multidimensional(3)
π NAME π
Okay bestie, welcome to the User Contributed Perl Documentation page for multidimensional(3) β and it's giving one very specific job: disables multidimensional array emulation. Slay. π
πΈ VERSION πΈ
version 0.014 β yes, that's the one, no cap. β¨
β¨ SYNOPSIS β¨
no multidimensional;
$hash{1, 2}; # dies
$hash{join($;, 1, 2)}; # doesn't die
So the first one? dies. π The join($;, 1, 2) version? doesn't die. π«Ά
π¦ DESCRIPTION π¦
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. Periodt.
π METHODS π
Two methods, bestie. Both are about the remainder of the scope being compiled.
π 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;
π SEE ALSO π
"$;" in perlvarB::Hooks::OP::Check
π AUTHOR π
Dagfinn Ilmari MannsΓ₯ker <ilmari@ilmari.org> β iconic. π«Ά
π COPYRIGHT AND LICENSE π
This 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. Fr fr. π
Okay that's the whole page, bestie β signing off from perl v5.32.1, dated 2022-01-20. Stay slay π β¨π
π¦ where this page comes from
- epel 9: perl-multidimensional 0.014-13.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms