cmac has asked for the wisdom of the Perl Monks concerning the following question:
Should the documentation for v notation say something like "this can be used to encode IPv4 addresses as long as they only contain values less than 128"?DB<9> p sprintf "%X",unpack('S',v4.100) 464 DB<10> p sprintf "%X",unpack('S',v4.160) 4C2 DB<11> p sprintf "%X",unpack('S',v4.127) 47F DB<12> p sprintf "%X",unpack('S',v4.128) 4C2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: v notation and IP addresses
by jwkrahn (Abbot) on Jul 11, 2009 at 19:39 UTC | |
by jettero (Monsignor) on Jul 11, 2009 at 22:15 UTC | |
by jwkrahn (Abbot) on Jul 11, 2009 at 22:19 UTC | |
by jettero (Monsignor) on Jul 11, 2009 at 22:21 UTC | |
|
Re: v notation and IP addresses
by ikegami (Patriarch) on Jul 13, 2009 at 19:34 UTC |