saravananp


{ City } chennai
< Country > india
* Profession * web designer
User No # 41608
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 4
Users Marked my Answers as Wrong # 9



Questions / { saravananp }
Questions Answers Category Views Company eMail









Answers / { saravananp }

Question { CTS, 4368 }

how can i search an element in an array


Answer



my $element = 'Whatever you are searching for' ;
if (grep {$_ eq $element} @TheArray) {
print "Element '$element' found!\n" ;
}

Is This Answer Correct ?    4 Yes 9 No