Turning number ranges into prefixes

David Cantrell david at cantrell.org.uk
Wed Aug 23 18:01:15 BST 2006


On Wed, Aug 23, 2006 at 05:15:15PM +0100, Chisel Wright wrote:
> On Wed, Aug 23, 2006 at 05:08:06PM +0100, David Cantrell wrote:
> > $ perl -e 'print "1424210000" ^ "1424225999"'
> > [some whitespace]
> Meanwhile:
> $ perl -le 'print "1424210000" xor "1424225999"'
> 1424210000

That only gives the first prefix.

-- 
David Cantrell | Reality Engineer, Ministry of Information

         Nuke a disabled unborn gay baby whale for JESUS!


More information about the london.pm mailing list