I have a set of objects in an array. @obj_fw
When I search for an object, I run through the list @obj_fw, and check if f.ex. $obj_fw[$index]->name eq search-string.
I wonder if there's a better way of doing it? Like a nice method in the package. In this case MY::FW (FW.pm)
Thank you :)
In reply to OO search in objects by Hossein
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |