s/\)$/\);/; # replace an ) at the end of the line with an );