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. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/