I am using build 522.

Would anyone know why the following statements seem to behave differently 
with the Win32 version of perl vs the Unix version:
    
    @data = (10,20,30);
    $c = 1;
    while ( @data = $c ) {
      $c = undef;
      }

I am fairly certian that with the Unix build @data will be assigned an 
undef and the loop will terminate after the first pass.  With ActiveState 
the @data variable retains the original value of $c and the loop never 
terminates.

If anyone can explain this difference in behavior, I would be most 
grateful.  Thanks.

Dennis

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to