in reply to Regexp::Common and "multidimensional hash lookup disabled" (v5.36+)

It seems that, at some point, it was permissible to write $foo{bar, frog}, which was understood by Perl to mean $foo{'bar,frog'},

$foo{bar, frog} is seen by perl as two barewords separated by a comma, i.e. $foo{'bar', 'frog'}.

Naked blocks are fun! -- Randal L. Schwartz, Perl hacker
  • Comment on Re: Regexp::Common and "multidimensional hash lookup disabled"

Replies are listed 'Best First'.
Re^2: Regexp::Common and "multidimensional hash lookup disabled"
by ibm1620 (Hermit) on Jul 02, 2023 at 18:39 UTC
    corrected, thanks.