Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
multidimensional(3)   User Contributed Perl Documentation  multidimensional(3)

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
       "$;" in perlvar,	B::Hooks::OP::Check.

AUTHOR
       Dagfinn Ilmari MannsAYker <ilmari@ilmari.org>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2010 - 2016 by Dagfinn Ilmari
       MannsAYker.

       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 v5.32.0			  2018-04-26		   multidimensional(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | METHODS | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=multidimensional&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help