my $pdf = CAM::PDF->new($file); $pdf->fillFormFields(%form); $pdf->cleanoutput($outfile);