|Syntactic Confectionery Delight|
To test empty array in perlby siddheshsawant (Sexton)
|on Apr 26, 2010 at 14:42 UTC||Need Help??|
siddheshsawant has asked for the
wisdom of the Perl Monks concerning the following question:
good morning !!!
Sorry,My previous version of this question was little misleading so I am re framing it again.
I am working on perl project where I have to test whether the array is empty or not and depending on that I have to an action.The pseudo code for that is like this:
If my array contains elements like then I have to take some action.I have used ($array eq " ") in the if condition.Is it a right way to do ? If any body knows about it then kindly let me know about.
Thanks in advance !!!!!