Peter Xu wrote:
John W. Krahn wrote:
perldoc -f sysread
sysread FILEHANDLE,SCALAR,LENGTH,OFFSET
sysread FILEHANDLE,SCALAR,LENGTH
Attempts to read LENGTH bytes of data into variable SCALAR
from the specified FILEHANDLE, using the system call
read(2).
Hi,
As far as I can tell, this perl module returns bogus numbers that have
nothing to do with the real prices from UPS and should be done away with
or fixed. If you use this, beware, check out your prices, will all be
low.
Rick
--
This message has been scanned for viruses and
dangerous conte
Peter Xu wrote:
Hi, everyone,
Hello,
I've met some problem while practice my perl. It seems that in some
condition,
sysread() doesn't work?
codes here:
#!/usr/bin/perl -w
use strict;
$| = 1;
open my $file, "<", "test.txt" or die;
## if these a
Hi, everyone,
I've met some problem while practice my perl. It seems that in some
condition,
sysread() doesn't work?
codes here:
#!/usr/bin/perl -w
use strict;
$| = 1;
open my $file, "<", "test.txt" or die;
## if these add these 2 lines, sysread