No such thing as a small change | |
PerlMonks |
Re: decimal to hex in an arrayby Eily (Monsignor) |
on Feb 21, 2017 at 10:38 UTC ( [id://1182417]=note: print w/replies, xml ) | Need Help?? |
Well, you only convert even elements to hexadecimal, 345 is not even so it does not get converted to 159 (or actually 0x159). I don't understand how you expect 2 to not be converted to 0x2 though.
In Section
Seekers of Perl Wisdom
|
|