push @anon, do { $_ => 1 };
push works just fine with a list, you don't need a do {} block.
push @anon, $_, 1;
In reply to Re^2: Need help with perl syntax.
by jwkrahn
in thread Need help with perl syntax.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |