On Aug 23, 4:36 pm, [EMAIL PROTECTED] (Randal L. Schwartz) wrote:
> >>>>> ""[EMAIL PROTECTED]" == "[EMAIL PROTECTED] com" <[EMAIL PROTECTED]> 
> >>>>> writes:
>
> "[EMAIL PROTECTED]> Those three things look like sets (unordered) to me not 
> lists
> "[EMAIL PROTECTED]> (ordered). The natural datatype in Perl to represent a 
> set of strings
> "[EMAIL PROTECTED]> is a hash with keys but no values. Unfortunately there's 
> no elegant
> "[EMAIL PROTECTED]> way to initialise such a structure in a single step. 
> Here's one of the
> "[EMAIL PROTECTED]> least inelegant ways.
>
> Yes, that might be the more natural expression, but then you get distracted
> with a "hash that has keys with irrelevant values" discussion that wasn't
> germane to the topic at hand... which is "using references".

Ah yes. I'd kinda missed the point and fell into global-code-critique
mode.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to