David le Blanc wrote:
...
> You are making the assumption that  '<TEST>' sets '$_' which is not
> true.  Oddly, perl makes '<>' set $_, but not <FILE>... dunno why

Sorry, but that's just not correct.

   while (<TEST>)

DOES set $_, as documented in perldoc perlop under the secion "I/O
Operators"

The OP has some other problem.

-- 
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