No such thing as a small change | |
PerlMonks |
Re: pack/unpack binary fileby BrowserUk (Patriarch) |
on Nov 29, 2012 at 22:58 UTC ( [id://1006372]=note: print w/replies, xml ) | Need Help?? |
I am unable to repack it to a bin file after I'm done with it You aren't packing the output. You are sprintfing it to hex; which is just a text representation. If you want the output (re)packed, use pack. (And don't forget to binmod your output file.) With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|