Need inputs on the ff.
#---------------------VARIABLES-------------------
$details = grt01a::yes|| grt01b::yes|| cus01g::no|| cus01f::yes||
#---------------------CODES-------------------
html
@ = split(/|| /,$details);
for ($m=0;$m<@;$m++) {
if ($stor[$m] =~ /::yes/) { $yescount++ }
I am able to get only the value "Yes" and copunt it.
cannot seem to get the other value "grt01a"
and combine the and count it.
if ($stor[$m] =~ /\grt01a::yes/) { $grt01a++ }
--
.