#!/usr/bin/perl use CGI qw(:all -nph ); $|++; my ($offset,$bytes,$buffer,$contents); open(PDF, " 'application/pdf' ); print $contents;