2009/11/11 Shawn H Corey <shawnhco...@gmail.com>:
> Philip Potter wrote:
>> my @aoh = pairwise { { %{$a}, %{$b} } } @aoh_a, @aoh_b;
>
> no warnings 'once';
> my @aoh = pairwise { +{ %{$a}, %{$b} } } @aoh_a, @aoh_b;

Thanks for your response. What are the grammar rules here? Why must I
use an explicit return or unary + operator? Why is it not being
interpreted as an anonymous array?

Phil

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to