D
DMB
I have a Perl script that serves a PDF on a Unix server and it works
perfectly. The same script on Windows is not working. Can someone
tell me what obvious mistake I'm overlooking?
#!c:/Perl/bin/Perl.exe
print "Cache-control: no-cache\n";
print "Content-type: application/pdf\n\n";
open (CODE, "C:/Program Files/Apache
Group/Apache2/htdocs/mp/corr/notfound.pdf") || die;
binmode STDOUT;
binmode CODE;
print <CODE>;
close (CODE);
exit;
perfectly. The same script on Windows is not working. Can someone
tell me what obvious mistake I'm overlooking?
#!c:/Perl/bin/Perl.exe
print "Cache-control: no-cache\n";
print "Content-type: application/pdf\n\n";
open (CODE, "C:/Program Files/Apache
Group/Apache2/htdocs/mp/corr/notfound.pdf") || die;
binmode STDOUT;
binmode CODE;
print <CODE>;
close (CODE);
exit;