while( defined( ( ($x,$y)= recv_data() )[0] ) )
But I'd rather do that like:
my( $x, $y )= recv_data(); while( defined $x ) { ... ( $x, $y )= recv_data(); }
- tye
In reply to Re^3: Can't understand function returning undefs (explicit)
by tye
in thread Can't understand function returning undefs
by rg0now
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |