title: perl - how to read mulitple files in a directory and store data to a unique variable
body: <p>I want to read in mulitple files from a directory and store each value in a unique variable so I can print it out later with a descriptive header. The file names have a common prefix, but are unique. </p>
  
  <p>I know how to open up one file, but is there an efficient way to open up many files? or do i have open unique file handles for each one?  thanks.</p>
  
  <p>Filenames have a common prefix like (abc_*):</p>
  
  <pre><code>abc_foo_dir
  abc_bar.dat1.20101208
  abc_bar.dat2.20101209
  </code></pre>
  
  <p>Example opening up first file:</p>
  
  <pre><code>open FILE, "&lt; /home/test/data/abc_foo_dir";
  while (&lt;FILE&gt;) {
  my $line = $_;
  chomp($line);
  print "$line\n";
  }
  close FILE;
  </code></pre>