use lib '/path/to/my/root/lib'; use CGI; #this one is mine, found under /path/to/my/root/lib/CGI.pm # need to find a way to 'use', or 'use base' the original CGI.pm here #... some code here to set $query_string... return CGI->new($query_string); # this Lincoln Stein's CGI.pm