in reply to print comma in superscript
print "<sup>,</sup>\n"; [download]
works for me, but maybe that isn't what you want. Maybe you need to give us more context?