if (... and do { ($result) = func($param); $result })
if (... and (($result) = func($param)))
I think the 2nd form is much nicer,
is there any special reason for using the 1st form?
In reply to Is there any difference between these two statement? by PerlOnTheWay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |