Cheers,if ( grep $term =~ /^(.*)$term(.*)$/, @terms ) { #remove the value that $term matched from the array } # end-if
Thanks conrad :)$_ =~ /^(.*)$term(.*)$/
In reply to remove value from array without index by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |