Help for this page

Select Code to Download


  1. or download this
      sub bin {
          my $num = shift;
    ...
    
          return $bin;
      }
    
  2. or download this
      sub bin {
          substr unpack("B*", pack "i", $_[0]), 0, 8;
      }
    
  3. or download this
      sub bin {
          sprintf "%08b", $_[0];
      }
    
  4. or download this
      if(-e "$bmfile") {
          &addlink("$bmfile","$url","$desc");
      } else {
          &newbmfile("$bmfile","$url","$desc");
      }
    
  5. or download this
      LINE: foreach $line (@bmfile) {
          chomp($line);
    ...
          } else { next LINE; }
          if($link) { $links[$#links+1] = "$desc,$link"; }
      }
    
  6. or download this
      while(defined($line = <IN>)) {
          chomp($line);
    ...
              $ctr++;
          }
      }
    
  7. or download this
      open(IN, "<$accesslog_file") 
        or die "Cannot open $accesslog_file for input: $!\n";
    ...
          }
      }
      close(IN);