title: How do I read in the contents of a directory in Perl?
body: <p>How do I get Perl to read the contents of a given directory into an array?</p>
  
  <p><a href="https://en.wikipedia.org/wiki/Grave_accent#Use_in_programming" rel="noreferrer">Backticks</a> can do it, but is there some method using 'scandir' or a similar term?</p>