in reply to format problem

For the formatting, perlform is your best bet. Read up, try it out. It's not too hard, and you should get the hang of it quickly!

Best of luck