One of the packages in Scaladex (Scala's equivalent of CPAN, I guess) states its motivation in the form of the following problem:
- List all .csv files in a directory by increasing order of file size
- Drop the first line of each file and concat the rest into a single output file
- Split the above output file into n smaller files without breaking up the lines in the input files
- gzip each of the smaller output files
How would you do this in Perl?
I reckon we are the only monastery ever to have a dungeon stuffed with 16,