in reply to Re^4: Different behaviors between "while" and "map"
in thread Different behaviors between "while" and "map"

Technically, you're both right, because

while ($_ = <SOME_FILE_HANDLE>){ ... }
is expanded to
while (defined ($_ = <SOME_FILE_HANDLE>)) { ... }

But all this is irrelevant. It's not the magical expansion of <> that causes the scalar context.