Singh, Ajit p <[EMAIL PROTECTED]> wrote: : : Hello there, : : Could somebody let me know how do I compare the : contents of an array that I have. To be specific, : my array contains something like below and I need : to compare whether the string : "interface ATM2/0.10 multipoint" exists in my : array.
Why is this data in an array? If you are going to search it, it would be nicer if it were in a scalar or in a hash. How did it get in an array to begin with? HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>