On the dprofpp man page,
The dprofpp tool can also run the profiler before analyzing the profile
data. The above two commands can be executed with one dprofpp command.
$ dprofpp -u -p test.pl
please mention how to add arguments.
$ dprofpp -u -p test.pl infile1 infile2
won't work.
The best one can do is
$ cat infile1 infile2|dprofpp -u -p test.pl
P.S., too bad the finest granularity of reporting is subroutines, not lines.
P.S.S.
I did but did not get any response. Therefore sending to Debian instead.