title: How do I assign many values to a particular Perl variable?
body: <p>I am writing a script in Perl which searches for a motif(substring) in protein sequence(string). The motif sequence to be searched (or substring) is hhhDDDssEExD, where:</p>
  
  <ul>
  <li><em>h</em> is any hydrophobic amino acid</li>
  <li><em>s</em> is any small amino acid</li>
  <li><em>x</em> is any amino acid </li>
  <li><em>h,s,x</em> can have <strong>more than one</strong> value separately</li>
  </ul>
  
  <p>Can more than one value be assigned to one variable? If yes, how should I do that? I want to assign a list of multiple values to a variable.</p>