is more or less equivalent tomy @y = map { ... } @x;
my @anon; for (@x) { push @anon, do { ... }; } my @y = @anon;
Yes it can be simplified, which I proceeded to do in the next snippet.
In reply to Re^3: Need help with perl syntax.
by ikegami
in thread Need help with perl syntax.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |