perl: code example as feature attribute