perl: move feature attributes formatting