printf "%x\n", $x;
>
> result: a
>
> -Mark
> -Original Message-
> From: bob ackerman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 8:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: what kind of data type?
>
>
>
> On Thursday, Ma
So are these the main avenues to go for making standalone Perl apps under
Windows, or are there some other alternatives?
Theres's got to be something else other than the ActivePerl routes... ?
Paul
> -Original Message-
> From: DeBaets, Kirk [mailto:[EMAIL PROTECTED]]
> Sent: Friday, M
what i'm trying to do is open a binary file and read from it...
---\
open ( FD, $filename );
binmode ( FD );
#read two bytes
while (read(FD, $buf, 2)) {
# hopefully print the hex value of two bytes
print hex($buf);
}
---/
and what i'm going for here is to read some binary data in and print