in reply to Re: behavior of bitwise shift
in thread behavior of bitwise shift
my $cidr = 8; my $mask = "1" x ( 32 - $cidr ) . "0" x $cidr; print $mask, "\n"; $mask = join ".", ( unpack "C4", ( pack "B*", $mask ) ); print $mask, "\n"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: behavior of bitwise shift
by Golo (Friar) on Oct 25, 2004 at 15:11 UTC | |
by Taulmarill (Deacon) on Oct 25, 2004 at 15:17 UTC |