in reply to Glob + list = list concatenation

while (defined(my $line = (@values) ? shift(@values) : <$filehandle>)) + { ...
Update: the defined is needed.

The PerlMonk tr/// Advocate