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 pm

Here 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:

  1. In perl, How would I read a file (test.txt) line by line and then reverse word by word?
  2. Perl script to convert txt file to string using BASE64 encoding.?
  3. How to convert word file to html by using PHP?
  4. how to remove a word from a string in perl?
  5. Use Perl CGI to Read File from a Web Browser
  6. How do I read in a text file and save it as a string in JAVA?
  7. in perl i need to convert a decimal to a string?
  8. in perl i need to convert a decimal to a string?
  9. how to read a whole file at a time in perl?
  10. I want to extract the content between the word ack and nul in my file using perl commands?
  1. One Response to “Using Perl how can I read from a file word by word and then convert offsets from a string to hex?”

  2. 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

Sorry, comments for this entry are closed at this time.