yoru a genius D:< it would have took me a few days to even think about that prob lol
EDIT: nope, i get error when i try to pack the data to any format and it still writes in text mode. | [reply] |
You want to binmode $filehandle; perhaps?
| [reply] [d/l] |
What did you try? Please remember to show your sample input, code, expected output vs. actual output (incl. error messages), otherwise we can't help much.
Also please mark hexadecimal numbers as such, since apparently you mean 0x29==41 instead of 29, as well as 0x32 and 0x39 for the ASCII string "29".
Anyway, pack works fine for me:
$ perl -MData::Dump=pp -le 'print pp pack("C", 0x29)'
")"
For this new problem you might want to start a new thread since this one is starting to get fairly deep (and remember How do I post a question effectively?). | [reply] [d/l] |
yes i will make another thread about it. i will prepare the data tho and try to be clear as possible. what this amounts to, is fixing the output of another program <.< ... and is in efforts of translating nino kuni game language files. it is just something someone came to me for help and i was able to generate the data they needed, but writing it back correctly has proved to be quite the task lol
| [reply] |