in reply to Syntax error in Nested for

In this specific case, since say and print are list operators, you could make it simpler:

 say keys %$_ for  @x;

Replies are listed 'Best First'.
Re^2: Syntax error in Nested for
by Lawliet (Curate) on Jul 03, 2013 at 12:09 UTC

    I would assume that NetWallah already knows that, as it is used in his second codesnippet.

      Right, I had not paid attention to that.