in reply to CGI returns no data

See CGI for more, but it looks like you don't want to actually print the output ;) Taken from that same URL:
print $query->Dump
So in your case, try this as your last line:
print $CGIValues->Dump;
--
b10m