I was trying to avoid passing it into the subroutine as I want as few lines of duplicate code in each of the individual pages. I tried your alternate suggestion and I keep getting the error 'Can't locate object method "request" via package Apache2::RequestUtil"'. I had been loading that module with the httpd.conf and I tried adding it to the top of my package as well.