in reply to Reg ex question

Parens are used to capture pieces for backreferences, with the contents of the first set going into $1, the second into $2 and so. In this case:
$variable =~ m/-----;=(99);helloworld/;
Most likely you want something more general, but this shows you to how capture "99" for use in the $1 backreference.

-mark