Using Perl how can I read from a file word by word and then convert offsets from a string to hex?
April 16, 2012 – 6:35 pmHere is what is in the file:
File Name TestProduct offset:
d692 fe1a cccc cccc 0000
0000 0000 0000 cccc cccc
cccc 0000 5800 9dab
0000 0000 0000 0044
0000 0000 0000
Related posts:
- In perl, How would I read a file (test.txt) line by line and then reverse word by word?
- Perl script to convert txt file to string using BASE64 encoding.?
- How to convert word file to html by using PHP?
- how to remove a word from a string in perl?
- Use Perl CGI to Read File from a Web Browser
- How do I read in a text file and save it as a string in JAVA?
- in perl i need to convert a decimal to a string?
- in perl i need to convert a decimal to a string?
- how to read a whole file at a time in perl?
- I want to extract the content between the word ack and nul in my file using perl commands?
One Response to “Using Perl how can I read from a file word by word and then convert offsets from a string to hex?”
You can download a converter from Megadownloads. It will make a string to a hex for you on a offset.
By New World on Apr 16, 2012