Actually the element is empty but message "event_date valid2" is not getting printed. can any body help me in this?print "usage_grpinf[2] :$usage_grpinf[2]\n"; if ( $usage_grpinf[2] eq "") { print "event_date valid2\n"; } output is -- Call_UsingHash12.pl usage_grpinf[2] :
In reply to how can i check an array element as empty or not by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |