title: How to store the output of wget into a variable
body: <p>With the backticks, the system call just displays the wget data to the screen.  </p>
  
  <p>What I would like to do is have the information from wget "piped" into a string or an array rather than the screen.</p>
  
  <p>Below is a snippet of my code. </p>
  
  <pre><code>sub wgetFunct {
      my $page = `wget -O - "$wgetVal"`;
  
      while ( &lt;INPUT&gt; ) {
          #line by line operations
      }
  }
  </code></pre>