http://qs321.pair.com?node_id=574549


in reply to The accidental fractal

You can shorten this:
for $r (@a) { $b[$r][$_] = $" for @a }
To this:
@b = ([($")x@a])x@a;
You can also shorten this:
print map{ @{$e[$_]}, $/ } @a;
using the for statment modifier:
print @{$e[$_]}, $/ for @a;