add perl template attempt