Please advise, I understand now that the push function adds to end of list but why is the grep on the response needed?push @data, $response unless grep { $_ eq $response } @data;
In reply to Re: (bbfu) (eq instead) Re3: Appending an array
by Anonymous Monk
in thread Appending an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |