Re: 2 off in array count and index

2010-03-22 Thread Jay Savage
On Tue, Mar 16, 2010 at 11:47 AM, jbl wrote: > I am reading a directory and creating an array of .png file names. I > know for a fact that there are 1025 png files in the folder > With $count = @files I get 1027 > With $last = $#files I get 1026 > $files [0] = . > $files[1] = .. > I have heard of

Re: 2 off in array count and index

2010-03-22 Thread Rene Schickbauer
jbl wrote: I am reading a directory and creating an array of .png file names. I know for a fact that there are 1025 png files in the folder With $count = @files I get 1027 With $last = $#files I get 1026 $files [0] = . $files[1] = .. "." is the current directory, ".." is the parent directory.

The page is not loaded and apache writing errors to log.

2010-03-22 Thread alexander
So i have some .cgi scripts running under apache. Some pages loads fine, but some loads from time to time. The pages which loads from time to time is generally generates with big, huge scripts which doing some work before prints something in html(but there is no function that working more than 2.5