foreach $newline(@new2) { if($new2 eq 'QT95EG01') { push(@EG01, $artefact); } if($new2 eq 'QT95EG02') { push(@EG02, $artefact); } }
In reply to check whether a array element is equal to a string. by ritchie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |