in reply to my scrip works locally when testing but not online

Are these scripts running as CGI processes through a browser, or running at the command line? They're each quite different environments to deal with. In the former you need to deal with things like HTTP timeouts.

I have seen the exact words of your error message crop up in Apache SSI contexts. If your scripts are running as CGI, make sure that Apache isn't trying to post-process them as SSI.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re: my scrip works locally when testing but not online

Replies are listed 'Best First'.
Re^2: my scrip works locally when testing but not online
by willson1 (Initiate) on Mar 14, 2012 at 17:32 UTC
    command line locally but neither work really online