Unless you're into beekeeping or dazzlingly wealthy tantric English rock stars, you're looking for "strings" in your arrays, not "sting" :-)
On Wed, 17 Nov 2004, Bryan R Harris wrote: > > Mauro wrote: > >> I have to check if $mystring is an elemen of @myarray or not. > >> Which is the quickest way to do this? > > > > That's a FAQ. > > > > perldoc -q contained > > > Where can I find a list of the FAQs in perldoc? Seems most of my questions > are FAQs too... Try a simple `perldoc perlfaq` for starters. Poking around on <http://perldoc.com/>, and their FAQ index at <http://perldoc.com/perl5.8.4/pod/perlfaq.html>, might be a more pleasant way to do this than just poking around on the command line. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
