Quine

With printf():

s = %(s = %%(%s); printf(s, s);
); printf(s, s);

With HERE-doc:

say(<<e*2, 'e')
say(<<e*2, 'e')
e

Last updated