Thanks Jeff On Wed, Sep 30, 2009 at 4:40 AM, Jeff Peng <jeff.p...@freenet.de> wrote:
> 2009/9/30 Jyoti <jcutiep...@gmail.com>: > > Thanks for reply Rajiv. Will go through.Also can you explain me what this > > error means: > > Odd number of elements in anonymous hash at > > /usr/lib/cgi-bin/websubroutine.pl line 18. > > That may mean, you passed wrong arguments to the method in a class. > The method expects a hash, should have even number of elements. > > > > > > line 18 is as follows: > > > > print $q->header("text/html"), > > > > Maybe you got wrong in other location. > This statement has no problem for me: > > # perl -MCGI -e '$q=CGI->new;print $q->header("text/html")' > Content-Type: text/html; charset=ISO-8859-1 > > > Jeff. >