"Mr. Shawn H. Corey" schreef:

> The expression 'while(<>)' is in scalar context. 
> It reads the file one line at a time.

Rather one piece (or record) at a time, which by default is a line. 

The value of "$/" is the record separator; see `perldoc perlvar` 
for more information, such as special values like undef and '' 
and \<number>. Also see "$.".

-- 
Affijn, Ruud

"Gewoon is een tijger."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to