In a message dated 6/18/2004 3:37:17 AM Eastern Standard Time, [EMAIL PROTECTED] writes: >- is it possible to search an array for a certain element, and that the >search returns the element index? eg. searching for 156 in the array >(123, 456, 156, 1354, 35164, 654656, 654, 846) should give 2 Look into List::Util (first() function)
-will http://www.wgunther.tk (the above message is double rot13 encoded for security reasons) Most Useful Perl Modules -strict -warnings -Devel::DProf -Benchmark -B::Deparse -Data::Dumper -Clone -Perl::Tidy -Beautifier -DBD::SQLite -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>