Actually using the comma operator is generally frowned on in both C/C++ and Perl. As your sample somewhat demonstrates it leads to fairly opaque code and can produce some very subtle bugs. A better technique is to put the several lines into a sub and call that in the while loop expression. See Re: Use of uninitialized value in addition for an example.
In reply to Re^2: Use of uninitialized value in addition
by GrandFather
in thread Use of uninitialized value in addition
by Solarplight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |