Hey all,

I have created a hash that looks similar to the following...

%hash (
         'test1' => $test1,
         'test2' => $test2,
         'test3' => $test3,
);

Now is it possible to have a little piece of code check the values of
that hash and see if their are any blank fields?

Something like...

if ($hash($_) eq "" || $hash($_) == ""}
  print "These hash keys $hash($_) did not contain any data!\n";
} else {
  print "It worked!";
}

Regards,

Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to