Today I discovered an easy way to merge PDFs files using Perl.
In my current project, I have to automatically generate a technical documentation from my perl modules PODs. It's easy to create one PDF file for each modules, but then I need to merge them all in one.
The very easy to use CAM::PDF Perl module provides appendpdf.pl. However it can only merge 2 files together.
I've copied and modified it for my need, and renamed it mergepdf.pl
Download : mergepdf.pl
Usage : appendpdf.pl [options] file1.pdf file2.pdf ... fileN.pdf outfile.pdf
See the help for more options.