Small changes on for-loop-in-perl and moved to pages

Just moved the for-loop-in-perl.tt to pages and some small changes on it.