Update: Added no warnings for the -w happy...#!/usr/bin/perl use strict; no warnings 'numeric'; my $this = sprintf("0x%x", 40); my $that = sprintf("0x%x", 2); my $other = $this + $that; printf "$other %x\n", $other; __END__ 42 2a
Update: This is perl, v5.6.0 built for i386-linux
In reply to Re: Hex Question(s)
by YuckFoo
in thread Hex Question(s)
by deadlock
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |