my $group = get_page_cnt($append_pdf); #### my $otherpdf = CAM::PDF->new($dir."data2\\".$append_pdf); $pdf->appendPDF($otherpdf);