in reply to multi-matching

use the /g modifier.
m/(\S*@/s*)/g
note: for your purposes, that regular expression might work. just be aware that your test is by no means complete.

jeff