Steve,
I've
tried variations of the following:
use
bytes;
open
FH, "c:\\temp\\test.reg";
binmode FH, ":raw";
while (<FH>) {
$var = read(IN, $byte, 1, 1);
}
print "$byte";
binmode FH, ":raw";
while (<FH>) {
$var = read(IN, $byte, 1, 1);
}
print "$byte";
I've
also attached the .reg file.
As you
read this, please don't assume that I have any clue as to what I'm doing
;^)
TIA,
Jamie
-----Original Message-----
From: Stephen Neu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 10:10 AM
To: 'FIEDRICH,JAMIE (HP-USA,ex1)'
Cc: Perl Beginners (E-mail)
Subject: RE: Read a .reg file?:When I create a file handle and print the file to
:STDOUT the data is mucked up.
:Any ideas/suggestions out there?Jamie, Could you send the section of your script in which you do this?
Steve