How would that change the above script?That depends greatly on the content and format of your input file. Since you have not provided a sample of the input, I will not even attempt to guess what it looks like. I recommend that you do a little reading, create some code, then post again if the code does not work.
open and print describe the basics of opening input files and printing to output files. If you need something even more basic, http://perl101.org/index.html is a good place to start.
In reply to Re^3: Convert a number to another number?
by toolic
in thread Convert a number to another number?
by fatfinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |