Hallo,
Gleichfalls...
print "Content-type: application/pdf \n\n";
print "4008420.pdf";
So gehts nicht. Du mußt das File 4008420.pdf öffnen, einlesen und dann printen:
open (FILE,"4008420.pdf") die "Can't Open 4008420.pdf!\n";
binmode File; #ob das hier richtig ist, weiß ich nicht, kenne PDF nicht genau.
@lines = <FILE>;
close(FILE);
print "Content-type: application/pdf \n\n";
print @lines;
Gruß Frank
P.S. Ausserdem: sieh Dir mal http://www.oreilly.de/catalog/perlmodger/manpage/cgi.htm an. Die Auswertung von Formularfeldern ist mit CGI-pm viel einfacher.