Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

multidimensional

Name multidimensional
Version 0.014
Located at /usr/local/lib64/perl5
File /usr/local/lib64/perl5/multidimensional.pm
Is Core No
Search CPAN for this module multidimensional
Documentation multidimensional
Module Details multidimensional


NAME

multidimensional - disables multidimensional array emulation


VERSION

version 0.014


SYNOPSIS

    no multidimensional;
    $hash{1, 2};                # dies
    $hash{join($;, 1, 2)};      # 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.


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;


SEE ALSO

perlvar/$;, the B::Hooks::OP::Check manpage.


AUTHOR

Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>


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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024