in reply to Re: commented out s/// prevents script running!
in thread commented out s/// prevents script running!

Thanks for the replies; The block at the end is only commented out becasue I have been trying to isolate my problem. You can uncomment the entire while loop, put the correct end-brace in position and re-instate the original conditional for the while loop, but I still get the same problem, .. so, I dont think having commented code inside my switch is causing it. I have double checked, triple, quadruple checked the {}'s and '' 's and ""'s all is fine. The error I get on running the script WITH the #s/// line is; syntax error at tsm_processjob.cgi line 233, near "}continue" syntax error at tsm_processjob.cgi line 235, near "}"
  • Comment on Re: Re: commented out s/// prevents script running!