title: progress bar in command line perl script
body: <p>I am trying to print progress in % in command prompt. But it is not working properly.</p>
  
  <p>I want to print the progress as :: Status 10% Completed
  when 20% will complete it will show Status 20% Completed
  in that same place not in new line. Could you please help me.</p>
  
  <p>Code::</p>
  
  <pre><code>$count++;
  $per=($count/$total)*100;
  print "\nStatus:  $per Completed.\r";
  sleep 1;
  </code></pre>