SW Explorer Automation is not a Perl solution but it allows to integrate regular tests with Web tests .
SW Explorer Automation (SWEA, http:\\home.comcast.net/~furmana/SWIEAutomation.htm). The tool allows to visually record the automation scripts. The article (http://www.testingreflections.com/node/view/2763) explains how to use SWEA for testing with NUnit.