my (@thingies) = $_ =~ /:::(.*?)(?=:::)/sg; # ?= allows for it to start at the ::: on the next time through