Try
$entityName ~~ @array_to_be_checked
DB<104> @array= qw/http-listener-1 http-listener-2 http-listener-3 h +ttp-listener-4/ DB<106> 'http-listener-2' ~~ @array => 1 DB<108> 'nonsense' ~~ @array => ""
Cheers Rolf
In reply to Re: How to check whether my array contains element x
by LanX
in thread How to check whether my array contains element x
by sandeepda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |