R. Joseph Newton <[EMAIL PROTECTED]> wrote:
> Rob Dixon wrote:
> 
>>         push @line, scalar <DATA> for 1..3;
> 
> So the scalar function is creating an anonymous scalar for 
> insertion into @line?

Not quite; it forces scalar context. 

  $ perldoc -f scalar

And the angle-bracket operator returns "the next line" when 
used in scalar context.

-- 
Steve

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to