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