Please advice how to pass 3 variables in an array with relation.
@item = ($a , $b , $c);
@record = push(@array, @item);
I want to assign value in a @array so that if I look for any instance I should get value of all a,b,c.
Is there any way apart from comma to assign a value in array. like $a:$b:$c or $a>$b>$c I need this because i am want to grep 1 record(a) and get (a:b:c)
@array1 = grep(!/$a/, @array);
expected output should be a:b:c
Thanks,