title: I need search a pattern in a header line of my file and concatenates the next line with Perl
body: <p>My multi-fasta archive is in this format:</p>
  
  <pre><code>&gt;miRNA65 dvex2345
  CGATGCTAGATGCTATGACAACGATGCCTCG-G
  &gt;miRNA60 dvex1234
  T-TAA-ACTCATCATCATCATACTCATCATCATCATCAGCATATTAACAAG
  &gt;miRNA65 dvex2345
  T-TAA-ACTTATCATCATCATACTCATCATCATCATCAGCATATTAACAAG
  </code></pre>
  
  <p>I am new in Perl and I need to search the equals '> lines' and concatenate the next line to join the sequence. </p>
  
  <p>I'm expecting the following output for the above file:</p>
  
  <pre><code>&gt;miRNA60 dvex1234
  T-TAA-ACTCATCATCATCATACTCATCATCATCATCAGCATATTAACAAG
  &gt;miRNA65 dvex2345
  T-TAA-ACTTATCATCATCATACTCATCATCATCATCAGCATATTAACAAG.CGATGCTAGATGCTATGACAACGATGCCTCG-G
  </code></pre>
  
  <p>What is the best way to get this done? </p>