in reply to Regular expression with capture following a match

what about:
my ($everythingelse) = m/^speed (.+)/;
What have you tried? Did you change the content of your original post? (i see the other replies talking about backslashes -- you shouldn't remove content once you've posted it ...)