Re: Need help with a simple (I think) Perl script



"FS" == Frank Seitz <devnull4711@xxxxxx> writes:

FS> $\ = undef;

that should be $/. this is another reason File::Slurp is useful. no need
to know this.

FS> open my $fh,'<',$pdffile or die $!;
FS> print <$fh>;

use File::Slurp ;
print read_file( $pdffile ) ;

uri

--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
.