title: perl how to do string alignment in perl
body: <p>if I have two different strings like:</p>
  
  <pre><code>my $a = "garfieldaagt";
  my $b = "field";
  </code></pre>
  
  <p>and I need to align them like</p>
  
  <pre><code>garfieldaagt
     field
  </code></pre>
  
  <p>to compare them, how could I do this?</p>
  
  <p>Any ideas? Thanks</p>