At 11:44 AM 8/8/02 -0700, drieux wrote:
>On Thursday, August 8, 2002, at 11:04 , Peter Scott wrote:
>
>>At 10:38 AM 8/8/02 -0700, drieux wrote:
>>>I'm not sure the average normal person would feel at home with say:
>>>
>>> %{$by_os{$os_key}}->{$_}++ for(@$found);
>>
>>Especially since it's only by accident that
>>
>> %hash->{key}
>>
>>happens to do the same thing as
>>
>> $hash{key}
>>
>>Many people think it's a bug and plan on eliminating it.
>
>so how do I work around that????
Simple; instead of typing
%hash->{key}
or any more complex variant of it, use
$hash{key}
>should I use
>
> ${$by_os{$os_key}}{$_}++ for(@$found);
>
>which is only marginally more Dense???
$by_os{$os_key}{$_}++ for @$found
(Pity that @{$by_os{$os_key}}{@$found}++ doesn't work...)
See perlref.
>we're on the back side of this coding game
>where I clean up all of the sillies that seemed
>useful as I tested them out - and were suppose to
>make the code simpler to read - hence also to maintain...
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]