Help for this page

Select Code to Download


  1. or download this
          my $bytes = sysread($handle,$buf,1024);
          if ($bytes == 0) {
    
  2. or download this
          my $bytes = sysread($handle,$buf,1024);
          die "sysread: $!" if !defined($bytes);
          if ($bytes == 0) {