etc in a long list. i am trying to write a script that extracts all hits beggining with /:swiss. My attempted if statement is below, it doesn't get any error messages but it also doesn't run! can anyone help??/:swiss|Q9L572|DNAA_STRPY /:tremblnew|AAK98805|AAK98805 /:swiss|O08397|DNAA_STRPN
if ($array[1] eq /^\/:swiss| (\d+)|(\d+)/) { print $array[1]; }
In reply to selecting within elements of arrays by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |