Junio C Hamano <junkio@xxxxxxx> writes: > The "I/O Operators" section talks about evaluating <$s> in a > scalar context (i.e. "$rep = <$s>"), which we all know would > return a single line, and in list context, which swallows > everything up to EOF, an obvious disaster for this particular > use. I couldn't find how it is defined to behave in a void > context. By experiments I know this returns only one line, but > it leaves me feeling somewhat uneasy. This is scalar context, as we are using the implicit $_ variable as the destination of the asignment. It seems it's not so obvious for non-Perl speakers, so I'll use a clearer idiom :-) Saludos. Iñaki. -- School of Management Mondragon University 20560 Oñati - Spain +34 943 718009 (ext. 225) GPG Key available at public keyservers - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html