Re: Problem with sysread()

2009-08-22 Thread John W. Krahn
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).

Business::UPS should be fixed or removed.

2009-08-22 Thread Rick Bragg
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

Re: Problem with sysread()

2009-08-22 Thread John W. Krahn
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

Problem with sysread()

2009-08-22 Thread Peter Xu
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