Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I've seen many means to return the bin value of an integer and a question came to me ... How can i convert a char 2 bin and bin 2 char? typing char2bin(a) --> 001000001 (not 1000001) I have found some solutions to this one but i guess there's a better one ... i guess in one line. I have made some test for the contrary : bin 2 char, but a problem came to me : it returns me the ascii value. I have made a pack "C" then ... but i'd like a quicker and easier solution. so, if you'v got an idee ... i would be thanxfull :)~
|
|