in reply to how to go back to previous page.
Although this too is a non-perl suggestion, here is another even simpler way to access the previous page (history):
Best of Luck.<a href=javascript:history.back()>BACK</a>
In Section
Seekers of Perl Wisdom