<html>
At 07:49 03-03-03 -0800, Antonis Faragitakis wrote:<br>
<blockquote type=cite class=cite cite>Hi<br><br>
can someone tell me why this crappy code, run into an<br>
infinitive loop!? i've broken my head and still CAN'T<br>
find what the problem is.<br><br>
The crappy code is attached.<br><br>
Antonis (O apelpismenos)</blockquote><br>
This looks a bit strange:<br><br>
<font face="Courier New, Courier">open (USERCOUNT, $times_been_here_file)
or die (&quot;Cannot open $times_been_here_file. perl reports:
$!&quot;);<br>
while (&lt;USERCOUNT&gt;) {<br>
&nbsp; $times_been_here = $_ + 1;<br>
&nbsp; close USERCOUNT;<br>
}#while<br><br>
</font>The open function should have a '&lt;' in front of the filename
(but it should die there the, so maybe that is default?).<br>
The other thing is the close statement inside the while loop, that maybe
leaves USERCOUNT in a 'true' value?<br><br>
Mark</html>