WWW::Scripter may be of use.
In reply to Re: execute JS in http response in perl by tobyink in thread execute JS in http response in perl by gurudutt.rv