in reply to Matching last value in reg expression

Just take advantage of the fact that a regex match in list context will return what was captured in the parentheses (if any) as a list e.g
my($match) = reverse /(.{8}-.{3}-i32)/g;
See. perlop for more info on the behaviour of m//. Also, you don't need to escape the dashes in that regex as they only have a special meaning in character class, see. perlre for more info.

HTH

_________
broquaint