On Thu, 12 Nov 2009 09:55:39 +0000, Philip Potter wrote: > 2009/11/11 Shawn H Corey <shawnhco...@gmail.com>: >> 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?
Because otherwise it's interpreted as a naked block. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/