|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^3: Subtract 2 hexadecimal numbersby kcott (Archbishop) |
| on Feb 21, 2014 at 08:18 UTC ( [id://1075712]=note: print w/replies, xml ) | Need Help?? |
|
The basic technique for extraction and substraction was shown by toolic. I don't know why you haven't used this nor why you seem to be asking exactly the same question in response to his reply: he's shown you how to extract the data, do the subtraction and output the result in the formats requested. Perhaps you should provide expected output to clarify your question. Now that we can see the format of your input data, I can show you how to read pairs of lines.
Output:
-- Ken
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||