http://qs321.pair.com?node_id=988095


in reply to Re^2: apache web service with perl client
in thread apache web service with perl client

So you have a script, which we do not know and which you do not show. And this script seems to produce different output depending on how it was called.

Well, without seeing the relevant code, it's hard to guess (at least for me). Sorry.