<%% n = 3 %%> I say 'a' <%=$ n %> times. <%=$ replicate n 'a' %>.