in reply to A list of backreferences from a regex

Something like

my $string = "put your own text here"; my @a = $string =~ /(\w+) (\w+) (\w+) (\w+) (\w+)/; print join ":", @a;

?