in reply to 'my' headache...why doesn't this work?
i've seen this technique (for \my ...) used as a cute way to build a hash from two arraysmy @data = ( 1..4 ); $$_ = eval{ local $"="+"; eval "@data" } for \my $columnsum;
but i prefer the more legible, highly maintainable@$_{@keys} = @values for \my %hash;
my %hash; @hash{@keys} = @values;
~Particle ;Þ
|
|---|