in reply to converting a boolean syntax

Try formulating regex to convert and/or give it a try with Parse::RecDescent.

artist