JunkGuy has asked for the wisdom of the Perl Monks concerning the following question:
sysread(INPUT,$outp\0\,12,1); print "length: ".$outp\0\."\n"; print "length: ".unpack("I", $outp\0\)."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Binary data
by pfaut (Priest) on Feb 06, 2003 at 17:59 UTC | |
|
Re: Binary data
by jasonk (Parson) on Feb 06, 2003 at 17:52 UTC | |
|
Re: Binary data
by steves (Curate) on Feb 06, 2003 at 17:56 UTC | |
|
Re: Binary data
by JunkGuy (Initiate) on Feb 06, 2003 at 19:45 UTC | |
by pfaut (Priest) on Feb 06, 2003 at 20:01 UTC |