runaway script

by "eric williams" <eric_alt(at)hotmail.com>

 Date:  Mon, 10 Jul 2000 10:46:23 PDT
 To:  support(at)cydian.com,
hwg-languages(at)hwg.org
  todo: View Thread, Original
While working on my counter.pl I suddenly find myself unable to 
connect.."blocking operation in progress". I must assume I made an error 
creating a runaway script...so what can I do about it? how can it be 
prevented?

here is the current version which I cant upload.

$currdoc = $ENV{"SCRIPT_NAME"};

if (length $currdoc < 4 ) {
	$currdoc = "SCRIPT_NAME FAILURE";
}

while (length $currdoc < 25){
	$currdoc = $currdoc + "\&nbsp\;";
	print "($currdoc)\n";
	if (length $currdoc > 60 ) {
		$currdoc = "SCRIPT_NAME FAILURE";
		print "\n\n($currdoc)\n";
		exit;
	}
}

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA