I am trying to learn Perl. THAT'S the main point of this question that I'm not sure is even possible. I made a csv list of my libreoffice calc spreadsheet of my kindle books. I would like to write a Perl script to format my csv list so that LibreOffice calc can open it and it's formatted as follows:
1) white text on a black background
2) black text on a white background
when the author changes.
I COULD do that manually but I want the script because this list changes daily.