title: How can I capture multiple matches from the same Perl regex?
body: <p>I'm trying to parse a single string and get multiple chunks of data out from the same string with the same regex conditions. I'm parsing a single HTML doc that is static (For an undisclosed reason, I can't use an HTML parser to do the job.) I have an expression that looks like: </p>
  
  <pre><code>$string =~ /\&lt;img\ssrc\="(.*)"/;
  </code></pre>
  
  <p>and I want to get the value of $1. However, in the one string, there are many img tags like this, so I need something like an array returned (@1?) is this possible?</p>