in reply to Re^2: Can't understand function returning undefs
in thread Can't understand function returning undefs
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
|
---|