my @big_heads = grep /BIG HEAD/, $s =~ m#<tag\d+>.*?</tag\d+>#sg; [download]
In reply to Re: Population of an array by davidrw in thread Population of an array by gzayzay