in reply to cgi script is not running from browser but runs from command line

I am not getting what is the problem.

Logic error :) it seems you've hardcoded some defaults, and from the commandline you're using @ARGV, and that works, but @ARGV doesn't work from CGI, so your program falls back to the defaults

How (Not) To Ask A Question

  • Comment on Re: cgi script is not running from browser but runs from command line