in reply to
Re: Bin 2 Hex
in thread
Bin 2 Hex
Oh, thanks a lot...
Now I tried to reverse it (hex->bin), how can I make this?
Okay this was easier than I thought, it did not function because I had a typo:
hex2bin:
my $bin = sprintf "%19b", oct '0x'.$hex;
[download]
Comment on
Re^2: Bin 2 Hex
Download
Code
In Section
Seekers of Perl Wisdom