title: Echo progress bar for while external process executing and take STDOUT when it done
body: <p>How I can echo a progress bar while an external process is executing and capture its STDOUT when it's done, using only standard modules. And not using fork?</p>
  <ol>
  <li><p>Run external process, something like: <code>@array = `ls -l`;</code></p>
  </li>
  <li><p>While it executing, do printing progress bar, like: <code>print '.';</code></p>
  </li>
  <li><p>Capture STDOUT of the process into array, when it done</p>
  </li>
  <li><p>Continue works main script</p>
  </li>
  </ol>
  <p>I'm reading about <code>IPC::Open2</code>, <code>IPC::Open3</code>, but I don't understand how to use them for this task. Maybe it's not the right direction?</p>