The only reason I imagine for the first form is when autogenerating code. If a code fragment consists of more than a simple expression, the do-block will always convert that fragment to an expression.
Update: Also see ikegami's advice about list context below!
In reply to Re: Is there any difference between these two statement?
by Corion
in thread Is there any difference between these two statement?
by PerlOnTheWay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |