Help for this page
use strict; ... for my $hex ($out =~ /(\S{2})/g) { # split the strings into chunks of + two chars printf "hex => %s, binary => %08B\n", $hex, hex($hex); }
__OUTPUT__ hex => 12, binary => 00010010 ... hex => DE, binary => 11011110 hex => 8F, binary => 10001111 hex => 45, binary => 01000101
www.com | www.net | www.org
No recent polls found