Hi

We have a code that didn't work, it is something like:
While (! $line =~/something/)
{ ... }

It didn't work (I mean it never entered the code block).  We couldn't find the 
problem, so just as trying woodo we changed it into:

While ( $line !~/something/)
{ ... }

And now it works.  Then we change the original code into :
While (! ($line =~/something/))
{ ... }

And it works again.  What was the problem with the first version ?

Yossi



_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to