On Oct 22, Ted Markowitz said:

>normal hashes could only take single keys. Is there some sort of
>auto-concatenated key being built out of the 3 list arguments under the
>covers?

Yes.  The 'perldata' section of the docs should cover it, and the
'perlvar' section does.

  $hash{'a', 'b', 'c'}

is the same as

  $hash{ join $;, 'a', 'b', 'c' }

The default value of $; is Ctrl-\.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to