in reply to is this right ?
No. You could use any from List::MoreUtils or something like this:
Note: example code only; not tested in any way, manner, or form.if(grep{ /$fields[6]/ ('"KOTB"', '"KBBA"','"KBBC"' , '"KBBM"' , '"KBB +T"')}) { &do_this; else { &do_something_else; }
|
|---|