2009/9/30 Jyoti <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/