> [EMAIL PROTECTED] wrote:
>
> Is there a way to check to see if a hash's key exists at all? For
> example:
>
> $hash{"key1"}="goober";
> $hash{"key2"}="";
>
> Something like:
>
> if exists($hash{"key3"} { print "key3 exists!" }
Try it and see ;>
Make sure that you run it -w and use strict clean!
perldoc is your friend:
perldoc -f exists
--
Best Regards,
mds
mds resource
888.250.3987
"Dare to fix things before they break . . . "
"Our capacity for understanding is inversely proportional to how much we
think we know. The more I know, the more I know I don't know . . . "
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web