cored has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use PDF; foreach(@ARGV){ my $PDFfile=PDF->new( $_ ); if ( $PDFfile->IsaPDF) { print qq(Is a pdf\n); } else { print qq(This is not a pdf file\n); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PDF Viewer
by behroozi (Beadle) on Jan 05, 2003 at 19:11 UTC | |
|
Re: PDF Viewer
by Mr. Muskrat (Canon) on Jan 06, 2003 at 14:57 UTC |