>>>>> "jabir" == jabir ahmed <jabirahmed@...> writes:
jabir> now i just want to check if the value of $b i.e 5
jabir> exists in the array @a or not
This is asked frequently enough that it's (amazingly enough)
in the "Frequently Asked Questions", included with your Perl distro.
I recommend that you skim the "perldoc perlfaq" page at least once a
month, perhaps starting now, until you know the questions that are
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!