From: Ignacio Arenaza Date: Fri, 24 Nov 2006 08:43:49 GMT Subject: Re: [PATCH] git-cvsimport: add suport for CVS pserver method HTTP/1.x proxying Message-ID: <67r6vt6xq2.fsf@poseidon.eteo.mondragon.edu> In-Reply-To: <7v64d5keke.fsf@assigned-by-dhcp.cox.net> Junio C Hamano 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)