Things I'd forget if I didn't post them here.
my ($match) = "some string" =~ /(some).*/; print $match; # prints "some"