in reply to profiling a subset of subroutines inside multiple perl scripts through 1 entry point script
At the beginning of your script add...
$DB::profile = 0; [download]
local $DB::profile = 1; [download]