I need to convert textfile to HTML.
Example of textfile below:
textfile.txt
a. Line 1
b. Line 2
HTML
Create HTML page with the Name of todays date.
And inside color code the lines and remove a. and b. in front of them until EOF.
if first char is a. then line should be red.
if first char is b. then line should be blue.
Can anyone help me with the code. I am learning Perl at this moment want to take the code and make more advanced.
Thanks in advance.
Example of textfile below:
textfile.txt
a. Line 1
b. Line 2
HTML
Create HTML page with the Name of todays date.
And inside color code the lines and remove a. and b. in front of them until EOF.
if first char is a. then line should be red.
if first char is b. then line should be blue.
Can anyone help me with the code. I am learning Perl at this moment want to take the code and make more advanced.
Thanks in advance.