in reply to Re^2: Apache ignores ARGV[0] request
in thread Apache ignores ARGV[0] request

It sounds like you are running it through mod_perl via Apache::Registry. It will not populate STDIN for you the same way that CGI does. You need to either go back to using CGI, which should work fine but you may need a little help, or switch from grabbing the args yourself to using something like the CGI module.