Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to find existence of a hash value.

0 views
Skip to first unread message

venu madhav

unread,
Nov 23, 2009, 2:08:20 AM11/23/09
to
Hi all,
I've a problem in CGI/PERL. I've a text box in my web page
whose value is taken by the server written in CGI Script. The value of
that text box is stored in an XML file for further use.
My problem is that when I don't have any value in that text
box and when CGI tries to print that value, it is printing the HASH
value of the key ( text box here). How can I validate for the
existence of value in that hash?

Please let me know if you need any other information.

Thanks,
Venu.

J�rgen Exner

unread,
Nov 23, 2009, 2:18:20 AM11/23/09
to
venu madhav <venuta...@gmail.com> wrote:
>How can I validate for the
>existence of value in that hash?

Depending upon what exactly you mean one of
perldoc -f exists
perldoc -f defined
should solve the problem.

jue

0 new messages