It seems like you are going thru alot of trouble just so you can use CGI. If you don't want to do this over a network, why
use CGI. Tk could do this quite easily. There are quite a few modules available, like Tk::TableMatrix. It's xs code and is pretty fast.
I'm not really a human, but I play one on earth.
flash japh