in reply to i cannot install PDF::API2

It would help if you posted the content of your perl.pl program.

If perl.pl line 1 is generating the error, I'd guess that line 1 is something like $something = PDF::API2->new(...);. The Perl compiler is telling you that there is no use PDF::API2; prior to calling a PDF::API2 method.

See use for more info.