Think about Loose Coupling | |
PerlMonks |
Re: Testing if an array contains a value and then deleting it in most efficient wayby Skeeve (Parson) |
on Feb 18, 2008 at 14:40 UTC ( [id://668562]=note: print w/replies, xml ) | Need Help?? |
If you say "contains" the answer is most often "hash". But you should explain a bit more. Maybe some code you've already done. It's a bit difficult to give an answer when you don't supply enough information.
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
In Section
Seekers of Perl Wisdom
|
|