You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 764761f99ab03b759d4cd2512892964bd85291a7)
$SUBSCRIPT_SEPARATOR
$SUBSEP
$;

The subscript separator for multidimensional array emulation. If you refer to a hash element as

$foo{$x, $y, $z}

it really means

$foo{join($;, $x, $y, $z)}

But don't put

@foo{$x, $y, $z}     # a slice--note the @

which means

($foo{$x}, $foo{$y}, $foo{$z})

Default is "\034", the same as SUBSEP in awk. If your keys contain binary data there might not be any safe value for $;.

Consider using "real" multidimensional arrays as described in perllol.

Mnemonic: comma (the syntactic subscript separator) is a semi-semicolon.