perlquestion
jdporter
<p>
One of the packages in Scaladex (Scala's equivalent of CPAN, I guess) [https://index.scala-lang.org/pathikrit/better-files/better-files-akka|states its motivation] in the form of the following problem:
</p>
<ol>
<li> List all .csv files in a directory by increasing order of file size </li>
<li> Drop the first line of each file and concat the rest into a single output file </li>
<li> Split the above output file into n smaller files without breaking up the lines in the input files </li>
<li> gzip each of the smaller output files </li>
</ol>
<p>
How would you do this in Perl?
</p>
<div class="pmsig"><div class="pmsig-170442">
I reckon we are the only monastery ever to have a dungeon stuffed with 16[523120|,]000 zombies.
</div></div>