in reply to How to make sure no elements from @array are inside $scalar
Wow, thanks to all for your responses! Again learned a lot by reading through your answers. I think in the end it's a matter of taste, I personally like the List::Utils way best. Also new to me was the comma operator - really handy!
if ($text =~ /_9(...)/, none {$1 eq $_} @$sites) { print "To be remove +d..\n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to make sure no elements from @array are inside $scalar
by Anonymous Monk on Nov 14, 2014 at 16:06 UTC | |
by Steffen (Novice) on Nov 14, 2014 at 17:18 UTC |