I started using perl about a year ago. I am pretty sure the errors I get really aren't random but they seem that way. Most of the time it runs fine but 10% of the time I will get internal server error or unrecognized character at some completely irrelavent place in my code and it is at different places all the time.
Example... Unrecognized char at.. blah
near $ENV{'SCRImT_NAME'} and that is defiantly SCRIPT in code. If I hit refresh the page comes up fine. If I keep hitting refresh over and over it will happen again at a differnt spot. Seems to be randomly changing a character in code. I have no idea where to start looking to fix this. Does anyone know a common error that could cause this? My code is extremely long to post and I have no idea where in it this could be.