Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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] :
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how can i check an array element as empty or not
by susanti13 (Novice) on Jul 21, 2009 at 06:06 UTC | |
by Anonymous Monk on Jul 21, 2009 at 07:27 UTC | |
by Anonymous Monk on Jul 21, 2009 at 06:21 UTC | |
|
Re: how can i check an array element as empty or not
by ikegami (Patriarch) on Jul 21, 2009 at 05:41 UTC |