Thanks, Jeff. For some reason I must have just kept missing it in the docs.
Either my guess was extremely intuitive or, since I must have already read it
somewhere before, very deeply buried in my subconscious. ;-)
Cheers,
--ted
Jeff 'japhy' Pinyan wrote:
> 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 **
--
====================================================
Ted Markowitz _
Chief Architect, C O G N O S Y S L L C
10 Hamilton Lane, Darien, CT 06820-2809
203.984.6565 (phone) [EMAIL PROTECTED] (email)
203.655.7746 (fax) www.cognosys.net (web)
TJMarkowitz (AIM)
====================================================
begin:vcard
n:Markowitz;Ted
tel;cell:203-984-6565
tel;fax:203-655-7746
tel;work:203-655-7746
x-mozilla-html:TRUE
url:http://www.cognosys.net
org:Cognosys LLC
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Architect
adr;quoted-printable:;;10 Hamilton Lane=0D=0A;Darien;CT;06820;USA
fn:Ted Markowitz
end:vcard
S/MIME Cryptographic Signature