[Israel.pm] pack vs. different architectures
Gaal Yahas
gaal at forum2.org
Tue Feb 22 07:05:26 PST 2005
Shlomi Fish wrote:
>> pack join("", $t->Values), $data->{ $t->Keys };
>>
>>
>
>You probably mean @{$data}{$t->Keys} here. And $template instead of $t.
>
Yes, thanks for the fix.
>And I don't see the advantage of having an order preserving hash instead of
>having an array, with each element containing both the $hdr key and its
>appropriate pack time.
>
There's no algorothmic advantage -- it just looks clearer to me.
--
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/
More information about the Perl
mailing list